PageSourceSearch

https://www.voruta.lt/wp-content/themes/the-newspaper-child/scripts/custom.js?v=1790940795&ver=7.0.6

js voruta.lt collected 2026-10-02 12:19:52 UTC 1,629 bytes, 37 lines download raw bytes

1// When the user scrolls down 50px from the top of the document, resize the header's font size
2window.onscroll = function() {scrollFunction()};
3
4function scrollFunction() {
5    if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
6       let elements =  document.getElementsByClassName("header_mid");
7        elements[0].classList.add("header_mid_disappear");
8    } else {
9        let  elements1 = document.getElementsByClassName("header_mid");
10        elements1[0].classList.remove("header_mid_disappear");
11    }
12}
13
14function adsInLandingPageBetweenArticles(idStarts, className, adURL, startingPlace) {
15    function desktopAndMobileAds(id, className, adURL) {
16
17        let desktopGeneral = document.createElement('div');
18        desktopGeneral.className = className;
19        desktopGeneral.id =  'desktop_general_' + id;
20
21        inView('#desktop_general_' + id).once('enter', function () {
22            let desktopGeneralImage = document.createElement('img');
23            desktopGeneralImage.className = 'image-center';
24            desktopGeneralImage.src = adURL;
25            desktopGeneral.appendChild(desktopGeneralImage);
26        });
27        return desktopGeneral;
28    }
29
30        let content = document.getElementsByClassName('content');
31        let articleRows = document.getElementsByClassName('cmsmasters_row');
32
33        for (let i = startingPlace; i < articleRows.length; i++ ) {
34            content[0].insertBefore(desktopAndMobileAds(idStarts+i, className, adURL), articleRows[i]);
35            desktopAndMobileAds(idStarts+i, className, adURL);
36        }
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.