PageSourceSearch

https://www.allgaeuweite.de/typo3temp/assets/compressed/cookies-1401c692e4db8cfd429dd137a9074799.js?1772098440

js allgaeuweite.de collected 2026-10-01 15:46:01 UTC 1,141 bytes, 31 lines download raw bytes

1window.addEventListener('load', function() {
2    var cookieBanner = document.querySelector('.waconcookiemanagement');
3    var cookieBoxOpener = document.getElementById('cookiebox-opener');
4    if (cookieBoxOpener) {
5        cookieBoxOpener.setAttribute('aria-label', 'Cookie-Einstellungen öffnen');
6        window.addEventListener('keyup', (e) => {
7            if (e.key === 'Escape') {
8                if (isVisible(cookieBanner)) {
9                    document.getElementById('aria-live-container').innerHTML = 'Cookie-Einstellungen geschlossen'
10                    cookieBanner.style.display = 'none'
11                }
12            }
13        });
14    }
15
16
17    function isVisible(el) {
18        var style = window.getComputedStyle(el);
19        return (style.display === 'block')
20    }
21
22    var imprintLinks = document.querySelectorAll('.cookie-imprint-link');
23    imprintLinks.forEach(function(link) {
24        link.addEventListener('blur', (e) => {
25            if (e.relatedTarget.closest('#CookieBox') === null) {
26                cookieBanner.style.display = 'none'
27                cookieBoxOpener.focus();
28            }
29        })
30    })
31})

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.