PageSourceSearch

https://microcinema.it/js/cookies.js?cache=17

js microcinema.it collected 2026-10-07 08:22:33 UTC 743 bytes, 23 lines download raw bytes

1
2function setCookie(name,value,days) {
3    var expires = "";
4    if (days) {
5        var date = new Date();
6        date.setTime(date.getTime() + (days*24*60*60*1000));
7        expires = "; expires=" + date.toUTCString();
8    }
9    document.cookie = name + "=" + (value || "")  + expires + "; path=/";
10}
11function getCookie(name) {
12    var nameEQ = name + "=";
13    var ca = document.cookie.split(';');
14    for(var i=0;i < ca.length;i++) {
15        var c = ca[i];
16        while (c.charAt(0)==' ') c = c.substring(1,c.length);
17        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
18    }
19    return null;
20}
21function eraseCookie(name) {   
22    document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
23}

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.