PageSourceSearch

http://www.turismocracovia.com/js/cookies.js

js turismocracovia.com collected 2026-09-26 16:06:58 UTC 966 bytes, 42 lines download raw bytes

1function GetCookie(name) {
2    var arg=name+"=";
3    var alen=arg.length;
4    var clen=document.cookie.length;
5    var i=0;
6    while (i<clen) {
7        var j=i+alen;
8 
9        if (document.cookie.substring(i,j)==arg)
10            return "1";
11        i=document.cookie.indexOf(" ",i)+1;
12        if (i==0)
13             break;
14     }
15    return null;
16}
17 
18function aceptar_cookies(){
19    var expire=new Date();
20    expire=new Date(expire.getTime()+7776000000);
21    document.cookie="cookies_surestao=aceptada; expires="+expire;
22 
23    var visit=GetCookie("cookies_surestao");
24    if (visit==1){
25        popbox3();
26    }
27}
28 
29jQuery(function() {
30    var visit=GetCookie("cookies_surestao");
31    if (visit==1){
32        $('#overbox3').toggle();
33    } else {
34        var expire=new Date();
35        expire=new Date(expire.getTime()+7776000000);
36        document.cookie="cookies_surestao=aceptada; expires="+expire;
37    }
38});
39 
40function popbox3() {
41    $('#overbox3').toggle();
42}

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.