PageSourceSearch

https://www.diesiedleronline.de/sites/default/themes/siedler/js/communitypage/site/spa/steam.js

js diesiedleronline.de collected 2026-09-30 20:52:53 UTC 960 bytes, 30 lines download raw bytes

1if ($$('html.spa.steam').length) {
2
3    window.addEvent('domready', function() {
4        // fix cookie banner links to open in layer:
5        if ($$('#cookieNotificationBanner').length) {
6            $$('#cookieNotificationBanner a').each(function (element) {
7                element.addEvent('click', function () {
8                    showExternalLayer(element.getAttribute('href'));
9                    return false;
10                });
11            });
12        }
13
14        if ($$('#simpleDialog').length) {
15            $$('#simpleDialog.terms a').each(function (element) {
16                element.addEvent('click', function () {
17                    if (element.target === '_blank') {
18                        showExternalLayer(element.getAttribute('href'));
19                    }
20                    return false;
21                });
22            });
23        }
24
25        if (typeof steamDomReady == 'function') {
26            steamDomReady();
27        }
28
29    });
30}

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.