PageSourceSearch

https://zimmerei-uckermark.com/js/cookie-notice.js

js zimmerei-uckermark.com collected 2026-10-07 05:26:38 UTC 1,147 bytes, 44 lines download raw bytes

1$(document).ready(function()
2{ 
3
4 /* COOKIE HINWEIS  */
5      
6 $( ".dsa-cookie-notice-close" ).click(function()
7{
8 $('.dsa-cookie-notice').addClass("hide");      // Cookie-Hinweis ausblenden
9 var now = new Date();
10  now.setTime(now.getTime() + 1 * 600 * 1000); // Ablaufdatum für den Cookie 10 Minuten 
11  document.cookie = "dsacookienotice=1; expires=" + now.toUTCString() + "; path=/";
12});
13 
14// Cookie-Daten laden und Value speichern  
15 function getCookie(dsacookienotice) {
16    var name = dsacookienotice + "=";
17    var decodedCookie = decodeURIComponent(document.cookie);
18    var ca = decodedCookie.split(';');
19    for(var i = 0; i <ca.length; i++) {
20        var c = ca[i];
21        while (c.charAt(0) == ' ') {
22            c = c.substring(1);
23        }
24        if (c.indexOf(name) == 0) {
25            return c.substring(name.length, c.length);
26        }
27    }
28    return "";
29}
30 
31 
32 // Value des Cookies prüfen und wenn vorhanden, Klasse hinzufügen.
33function checkCookie()
34{
35    var dsacookienotice = getCookie("dsacookienotice");
36    if (dsacookienotice != "") { $('.dsa-cookie-notice').addClass("hide");  } 
37}
38 checkCookie();
39 
40 
41 
42 
43});
44

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.