PageSourceSearch

https://fr.melvita.com/cdn/shop/t/4/assets/ax-cart-return.js?v=108670334683347548871787909367

js melvita.com collected 2026-09-25 18:53:08 UTC 1,272 bytes, 2 lines download raw bytes

1(()=>{const FLAG="ax-open-cart",LAST_PAGE_KEY="ax:last-store-page",isCartPage=document.currentScript?.dataset.cartPage==="true",read=key=>{try{return sessionStorage.getItem(key)}catch{return null}},write=(key,value)=>{try{sessionStorage.setItem(key,value)}catch{}},isSafeTarget=path=>typeof path=="string"&&path.startsWith("/")&&!path.startsWith("//")&&!path.startsWith("/cart")&&!path.startsWith("/checkouts");if(isCartPage){const stored=read(LAST_PAGE_KEY),target=new URL(isSafeTarget(stored)?stored:"/",window.location.origin);target.searchParams.set(FLAG,"1"),window.location.replace(target.toString());return}write(LAST_PAGE_KEY,window.location.pathname+window.location.search);const params=new URLSearchParams(window.location.search);if(!params.has(FLAG))return;params.delete(FLAG);const query=params.toString();window.history.replaceState({},"",window.location.pathname+(query?`?${query}`:"")+window.location.hash);const openCartDrawer=()=>{customElements.whenDefined("cart-drawer").then(()=>{document.getElementById("cart-drawer")?.show()})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",openCartDrawer,{once:!0}):openCartDrawer()})();
2//# sourceMappingURL=/cdn/shop/t/4/assets/ax-cart-return.js.map?v=108670334683347548871787909367

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.