PageSourceSearch

https://www.kirpich.ru/local/layout/js/scripts.js?17555166251089

js kirpich.ru collected 2026-10-07 19:34:21 UTC 1,089 bytes, 37 lines download raw bytes

1function sendGoalAfterMetrikInit(goal, num) {
2    if (!num) num = 0;
3    else num = parseInt(num);
4    if (typeof yaCounter218155 !== "undefined" && !!yaCounter218155) {
5        yaCounter218155.reachGoal(goal);
6    } else {
7        console.info('yaCounter218155 yet undefined!', goal);
8        if (num == 10) {
9            console.info('stop trying send', goal);
10        } else {
11            setTimeout(function () {
12                sendGoalAfterMetrikInit(goal, num + 1);
13            }, 500);
14        }
15    }
16}
17
18$(window).scroll(function () {
19    if ($(window).scrollTop() == 0) {
20        $('#u-up').fadeOut();
21    } else {
22        $('#u-up').fadeIn();
23    }
24});
25
26$(document).on("click", "#u-up", function () {
27    $("html, body").animate({ scrollTop: 0 }, "slow");
28});
29
30$(document).on("click", ".catalog-switch__item", function () {
31    var url = new URL(location.href);
32    url.searchParams.delete('showType');
33    url.searchParams.set('showType', $(this).attr('data-type'));
34    window.history.pushState("state", "", url.toString());
35    window.location.reload();
36    return false;
37});

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.