PageSourceSearch

https://kismetbymilka.com/cdn/shop/t/32/assets/add-to-recently-viewed.js?v=62859981703951406811788851870

js kismetbymilka.com collected 2026-09-25 18:42:26 UTC 783 bytes, 2 lines download raw bytes

1if(!customElements.get("add-to-recently-viewed")){const addToRecentlyViewed=(handle,STORAGE_KEY)=>{if(!handle)return;let list;try{list=JSON.parse(localStorage.getItem(STORAGE_KEY))||[],Array.isArray(list)||(list=[])}catch{list=[]}list=list.filter(h=>h!==handle),list.unshift(handle),list.length>24&&(list=list.slice(0,24)),localStorage.setItem(STORAGE_KEY,JSON.stringify(list))};customElements.define("add-to-recently-viewed",class extends HTMLElement{constructor(){super()}connectedCallback(){this.init()}init(){const STORAGE_KEY="recently_viewed_handles_"+this.dataset.shopId,handle=this.dataset.handle||this.getAttribute("handle");addToRecentlyViewed(handle,STORAGE_KEY)}})}
2//# sourceMappingURL=/cdn/shop/t/32/assets/add-to-recently-viewed.js.map?v=62859981703951406811788851870

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.