PageSourceSearch

https://700vilnius.lt/stpd-infinite-scroller.js?ver=1790272946

js 700vilnius.lt collected 2026-09-24 19:27:57 UTC 1,914 bytes, 43 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 = "stpd-700vilnius_lt_300x600_sidebar_" + divId;
15
16        if (divId < 3) {
17            if (window.innerWidth > 1000) {
18                googletag.cmd.push(function () {
19                    googletag.defineSlot('/147246189,23199191430/700vilnius.lt_300x600_sidebar_' + GAMId, [[300,600],[160,600],[300,250],[300,300]], adElement.id).addService(googletag.pubads());
20                    googletag.display(adElement.id);
21                    stpd = window.stpd || {que: []};
22                    stpd.que.push(function () {
23                        stpd = window.stpd || {que: []};stpd.que.push(function () {stpd.initialize(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,23199191430/700vilnius.lt_300x600_sidebar_' + GAMId, [[300,600],[160,600],[300,250],[300,300]], adElement.id).addService(googletag.pubads());
32                        googletag.display(adElement.id);
33                        stpd = window.stpd || {que: []};
34                        stpd.que.push(function () {
35                            stpd = window.stpd || {que: []};stpd.que.push(function () {stpd.initialize(adElement.id);})
36                        })
37                    });
38                }
39            }));
40
41        }
42    }
43}

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.