PageSourceSearch

https://prosvet.su/local/templates/MAIN_adapt/components/bitrix/fo…/mainpage/script.js?1776507288810

js prosvet.su collected 2026-10-02 07:41:16 UTC 810 bytes, 20 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    // Обновление капчи
3    document.addEventListener('click', function (e) {
4        const reloadBtn = e.target.closest('.reload-captcha');
5        if (reloadBtn) {
6            e.preventDefault();
7            const icon = reloadBtn.querySelector('.uk-icon-refresh');
8            if (icon) icon.classList.add('uk-icon-spin');
9
10            fetch(reloadBtn.getAttribute('href'))
11                .then(res => res.text())
12                .then(data => {
13                    const container = document.querySelector('.feedback-form-mp .bx-captcha');
14                    if (container) container.innerHTML = data;
15                })
16                .finally(() => { if (icon) icon.classList.remove('uk-icon-spin'); });
17        }
18    });
19
20});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.