1 2 3 // Cookieconsent - page.jsInline.5 4 window.addEventListener("load", function(){ 5 var p; 6 7 window.cookieconsent.initialise({ 8 9 onInitialise: function(status) { 10 var type = this.options.type; 11 console.log("cookieconsent_type:", type); 12 console.log("cookieconsent_status:", status); 13 }, 14 15 theme: "edgeless", 16 position: "bottom-right", 17 palette: { 18 popup: { 19 background: "#222222", 20 text: "#ffffff" 21 }, 22 button: { 23 background: "#ff7f00", 24 text: "#ffffff" 25 } 26 }, 27 content: { 28 message: "This website uses technically necessary cookies to guarantee functionality. By continuing to use the website, you consent to the use of these cookies.", 29 dismiss: "Got it!", 30 deny: "Cookies ablehnen", 31 allow: "Allow!", 32 link: "Find further information in our privacy notice.", 33 href: "/datenschutzerklaerung/", 34 }, 35 36 elements: { 37 allow: '<a id="t3s-allow" aria-label="allow cookies" tabindex="0" class="cc-btn cc-allow">{{allow}}</a>', 38 }, 39 40 type: "info", 41 42 revokeBtn: "<div class='cc-revoke {{classes}}'>Cookie Optionen</div>", 43 // no popup on this pages 44 blacklistPage: ["/datenschutzerklaerung/"], 45 46 onStatusChange: function(status) { 47 console.log(this.hasConsented() ? 48 'enable cookies' : 'disable cookies'); 49 50 var type = this.options.type; 51 if ( type == 'opt-in' && this.hasConsented() ) { 52 location.reload(true); 53 } 54 if ( type == 'opt-out' && !this.hasConsented() ) { 55 location.reload(true); 56 } 57 }, 58 59 law: { 60 regionalLaw: false, 61 }, 62 location: true, 63 64 65 }, function (popup) { 66 p = popup; 67 }, function (err) { 68 console.error(err); 69 }); 70 71 72 if ( document.getElementById('btn-revokeChoice') ) { 73 document.getElementById('btn-revokeChoice').onclick = function (e) { 74 p.revokeChoice(); 75 }; 76 } 77 78 }); 79
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.