PageSourceSearch

https://www.ordernow.pizza/Scripts/application/cookies.js

js ordernow.pizza collected 2026-10-07 23:45:53 UTC 999 bytes, 35 lines download raw bytes

1function createCookie(name, value, days) {
2    var expires;
3    if (days) {
4        var date = new Date();
5        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
6        expires = "; expires=" + date.toGMTString();
7    }
8    else expires = "";
9    document.cookie = name + "=" + value + expires + "; path=/";
10}
11
12function readCookie(name) {
13    var nameEQ = name + "=";
14    var ca = document.cookie.split(';');
15    for (var i = 0; i < ca.length; i++) {
16        var c = ca[i];
17        while (c.charAt(0) == ' ') c = c.substring(1, c.length);
18        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
19    }
20    return null;
21}
22
23function eraseCookie(name) {
24    createCookie(name, "", -1);
25}
26
27function areCookiesEnabled() {
28    var r = false;
29    createCookie("OLOCookieCheck", "OLORequiresCookies", 1);
30    if (readCookie("OLOCookieCheck") != null) {
31        r = true;
32        eraseCookie("OLOCookieCheck");
33    }
34    return r;
35}

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.