PageSourceSearch

https://remont-tnvd.com/js/sendMangoOfficeApi.js?v=987584350

js remont-tnvd.com collected 2026-10-07 02:59:39 UTC 1,249 bytes, 36 lines download raw bytes

1/**
2 * @param {string} service - sevastopolskaya / kaluzhskaya / lobnenskaya / udalcovo - название сервисов
3 * @param {string} type - fos / red_button - тип обратной связи
4 * @param {string} client_phone - Телефон клиента
5 * @param {string} service_phone - Телефон с сайта
6 * @param {string} site - Текущий сайт
7 */
8function sendMangoOfficeApi(service, type, client_phone, service_phone, site = '') {
9    let currentUrl = "";
10    if(site.length < 1) {
11        currentUrl = window.location.href;
12    }else{
13        currentUrl = site
14    }
15    const data = {
16        service: service,
17        type: type,
18        client_phone: client_phone,
19        service_phone: service_phone,
20        site: currentUrl
21    };
22    fetch('https://callback.qrenta.ru/fos.php', {
23        method: 'POST',
24        headers: {'Content-Type': 'application/json'},
25        body: JSON.stringify(data)
26    }).then(response => {
27        if (!response.ok) {
28            throw new Error(`HTTP error! status: ${response.status}`);
29        }
30        return response.json();
31    }).then(result => {
32        console.log('Success:', result);
33    }).catch(error => {
34        console.error('Error:', error);
35    });
36}

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.