PageSourceSearch

https://www.portronics.com/cdn/shop/t/146/assets/cookiesHandler.js?v=165902753681159408451781167272

js portronics.com collected 2026-10-03 23:44:36 UTC 977 bytes, 2 lines download raw bytes

1function setCookie(name,value){document.cookie=encodeURIComponent(name)+"="+encodeURIComponent(value)+"; path=/"}function getCookie(name){cookies=document.cookie.split("; ");for(const cookie of cookies){const[cookieName,cookieValue]=cookie.split("=");if(decodeURIComponent(cookieName)===name)return decodeURIComponent(cookieValue)}}function appendToCookie(name,newValue,type){let delimiter="__",existingValue=getCookie(name);if(existingValue)if(type=="checkedValue"){const values=existingValue.split(delimiter);existingValue+=delimiter+newValue,console.log("existingValue",existingValue),values.length>=1&&(location.href=`/pages/compare/products=${existingValue}`)}else{const values=existingValue.split(delimiter),index=values.indexOf(newValue);index!==-1&&(values.splice(index,1),existingValue=values.join(delimiter))}else existingValue=newValue;setCookie(name,existingValue)}
2//# sourceMappingURL=/cdn/shop/t/146/assets/cookiesHandler.js.map?v=165902753681159408451781167272

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.