PageSourceSearch

https://www.ukzinios.lt/stpd-infinite-scroller.js?ver=1790288925

js ukzinios.lt collected 2026-09-24 22:29:18 UTC 1,752 bytes, 42 lines download raw bytes

1function stpdInitializeSidebarAds() {
2
3    const stpdSidebarAdDivs = [...document.querySelectorAll(".stpdSidebarAd")];
4
5    for (const [index, adElement] of Object.entries(stpdSidebarAdDivs)) {
6        const divId = Number(index) + 1
7        const GAMId = divId <= 3 ? divId : 3;
8
9        // If element already has ID, this means ad was already initialized. Skip it.
10        if (adElement.id) {
11            continue;
12        }
13
14        adElement.id = "ukzinios_lt_300x600_sidebar_" + divId;
15
16        if (divId < 3) {
17            if (window.innerWidth > 1000) {
18                googletag.cmd.push(function () {
19                    googletag.defineSlot('/147246189,23108322887/ukzinios.lt_300x600_sidebar_' + GAMId, [[300,600],[300,250]], adElement.id).addService(googletag.pubads());
20                    googletag.display(adElement.id);
21                    stpd = window.stpd || {que: []};
22                    stpd.que.push(function () {
23                        stpd.initializeAdUnit(adElement.id);
24                    })
25                });
26            }
27        } else {
28            inView('#' + adElement.id).once('enter', (function () {
29                if (window.innerWidth > 1000) {
30                    googletag.cmd.push(function () {
31                        googletag.defineSlot('/147246189,23108322887/ukzinios.lt_300x600_sidebar_' + GAMId, [[300,600],[300,250]], adElement.id).addService(googletag.pubads());
32                        googletag.display(adElement.id);
33                        stpd = window.stpd || {que: []};
34                        stpd.que.push(function () {
35                            stpd.initializeAdUnit(adElement.id);
36                        })
37                    });
38                }
39            }));
40        }
41    }
42}

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.