PageSourceSearch

https://www.cardkingdom.com/local/js/neojs/helpers/cookies.js?id=0fcd23cd42d00367d1e43cdbc1b250f7

js cardkingdom.com collected 2026-10-02 06:38:31 UTC 677 bytes, 21 lines download raw bytes

1ck.setCookie = function(cname, cvalue, exdays) {
2  var expires = '', cookieString="";
3  //if no exdays, expire with session
4  if(typeof exdays === 'number')  {
5    var d = new Date();
6    d.setTime(d.getTime() + (exdays*24*60*60*1000)); //set for specifed time
7    expires = 'expires='+d.toUTCString();
8  }
9  document.cookie = (cname + '=' + cvalue + '; ' + expires +'; path=/');
10};
11
12ck.getCookie = function(cname) {
13  var name = cname + '=';
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);
18    if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
19  }
20  return "";
21};

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.