PageSourceSearch

https://intl.allstora.com/cdn/shop/t/249/assets/currency-conversion.js?v=5851635532649791511782220754

js allstora.com collected 2026-10-01 14:30:15 UTC 778 bytes, 2 lines download raw bytes

1document.addEventListener("DOMContentLoaded",()=>{const regex=/\$\d+(?:\.\d+)?/,selectors=[".media-hero__price",".comparison-option__price",".comparison-option__disclaimer"],currencyRate=Number(window.Shopify.currency.rate),convertLocalCurrency=amount=>(amount*currencyRate).toFixed(2);selectors.forEach(selector=>{document.querySelectorAll(selector).forEach(el=>{const prices=el.textContent.trim().match(regex);prices&&prices.forEach(priceString=>{const priceNumber=Number(priceString.replace("$","")),convertedPrice=convertLocalCurrency(priceNumber),newPrice=window.AllstoraCurrency.symbol+convertedPrice;el.textContent=el.textContent.replace(priceString,newPrice)})})})});
2//# sourceMappingURL=/cdn/shop/t/249/assets/currency-conversion.js.map?v=5851635532649791511782220754

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.