PageSourceSearch

https://www.goesser.at/wp-content/plugins/sisu-cookie-notice/js/co…?v=1&ver=045f8694824e67981359ff37d75fafd9

js goesser.at collected 2026-10-02 12:14:22 UTC 2,457 bytes, 87 lines download raw bytes

1/****************************************** 
2             Cookie Notice
3*******************************************/   
4
5sisuCookieNotice = {
6
7    $wrapper:  $(".js-alter_overlay"),
8    $notice:  $(".alter_overlay"),
9    
10    init: function(){
11
12        // 👇 Skip age gate on Data Policy page
13        if (window.location.pathname.includes("datenschutz")) {
14            return;
15        }
16
17        //show cookie notice
18        if(sisuCookieNotice.getCookie("sisu-cookie-consent-age") !== "1"){
19            sisuCookieNotice.$notice.addClass("open");
20            sisuCookieNotice.$notice.find("button")[0].focus();
21            $('#wrapper').addClass('setblur');
22        } else {
23            $('.setblur').removeClass('setblur');
24        }
25
26        var alterseleciton = true;
27        if($('.alter button').length) {
28            alterseleciton = false;
29
30            $('.alter #age-true').on("click", function(){
31                alterseleciton = true;
32                sisuCookieNotice.setCookie("sisu-cookie-consent-age", "1", 1 * 24 * 60); //14 days because of legal guidelines
33                sisuCookieNotice.$notice.removeClass("open");
34                location.reload();
35            });
36        }
37
38        $('.alter #age-false').on("click", function(){
39            $('.alter_error').show();
40        });
41
42    },
43
44    getCookie: function(name){
45        const nameEQ = name + "=";
46        const ca = document.cookie.split(';');
47        for (var i = 0; i < ca.length; i++) {
48            var c = ca[i];
49            while (c.charAt(0) == ' ') c = c.substring(1, c.length);
50            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
51        }
52        return null;
53    },
54
55    setCookie: function(name, value, minutes){
56        if (minutes) {
57            const date = new Date();
58            const MILISECONDS = 1000;
59            const SECONDS = 60;
60
61            date.setTime(date.getTime() + (minutes * SECONDS * MILISECONDS));
62            var expires = "; expires=" + date.toGMTString();
63        } else{
64            var expires = "";
65        }
66
67        document.cookie = name + "=" + value + expires + "; path=/";
68    },
69    
70    deleteCookie: function(name){
71        this.setCookie(name, "", -100);
72    },
73}
74
75$(document).ready(function () {
76sisuCookieNotice.init();
77
78if(document.referrer.indexOf('www.goesser.at') != -1)
79{
80        /* Aufgrund der Cookie-Möglichkeiten nicht umzusetzten */
81        
82} else {
83        
84        
85}
86    
87});

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.