PageSourceSearch

https://bluestep.net/static/26.09.22.01/jslib/cookie.js

js bluestep.net collected 2026-09-26 14:30:46 UTC 1,624 bytes, 2 lines download raw bytes

1(()=>{var g=!0,t=globalThis;typeof t.COOKIE_MAP>"u"&&(t.COOKIE_MAP=null);var _=t.COOKIE_MAP;function E(e){return f("testcookie","testvalue",e?new Date(new Date().getTime()+60):void 0),c("testcookie")==null?!1:(r("testcookie"),!0)}function d(){let e={},o=O();for(let n in o)e[n]=n;return e}function c(e){return O()[e]}function f(e,o,n,i,s,u){_=null,t.COOKIE_MAP=null,i=i||"/",s=s||C(),document.cookie=escape(e)+"="+escape(o)+(n?";expires="+k(n).toUTCString():"")+(i?";path="+i:"")+(s?";domain="+s:"")+(u?";secure":"")}function r(e,o,n,i){d()[e]&&(f(e,c(e)||"",document.all?new Date(0):new Date,o,n,i),c(e)!=null&&n==null&&r(e,void 0,a()))}function O(){let e=t.COOKIE_MAP;if(e!=null)return e;let o={},n=document.cookie;if(n!=null&&n!=""){let i=n.length,s=0;do{let u=n.indexOf("; ",s);u==-1&&(u=i);let l=n.indexOf("=",s);(l==-1||l>u)&&(l=u),o[unescape(n.substring(s,l))]=l==u?"":unescape(n.substring(l+1,u)),s=u+2}while(s<i)}return _=o,t.COOKIE_MAP=o,o}function C(){let e=window.location.href,o=e.indexOf("//")+2,n=e.indexOf(":",o),i=e.indexOf("/",o);return n==-1&&(n=e.length),i==-1&&(i=e.length),e.substring(o,n<i?n:i)}function a(){let e=C();return e.substring(e.lastIndexOf(".",e.lastIndexOf(".")-1))}function k(e){let n=new Date(0).getTime();return n>0&&e.setTime(e.getTime()-n),e}typeof _TIMEZONETOOLS_JS_<"u"&&_TIMEZONETOOLS_JS_==!0&&setTimeZoneCookie();typeof _SR_<"u"&&_SR_!=null&&_SR_.notify("cookie.js");t._COOKIE_JS_=g;t.cookiesEnabled=E;t.getCookieNames=d;t.getCookie=c;t.setCookie=f;t.deleteCookie=r;t.parseCookies=O;t.getCurrentDomain=C;t.getTopDomain=a;t.fixCookieDate=k;})();
2//# sourceMappingURL=cookie.js.map

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.