PageSourceSearch

https://blueotterpolarized.com/cdn/shop/t/26/assets/consent_mode.js?v=74122618216724266241751901157

js blueotterpolarized.com collected 2026-10-09 00:38:56 UTC 2,334 bytes, 2 lines download raw bytes

1window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}localStorage.getItem("consentMode")===null?gtag("consent","default",{ad_storage:"denied",analytics_storage:"denied",personalization_storage:"denied",functionality_storage:"denied",security_storage:"denied"}):gtag("consent","default",JSON.parse(localStorage.getItem("consentMode")));function setConsent(consent){const consentMode={functionality_storage:consent.necessary?"granted":"denied",security_storage:consent.necessary?"granted":"denied",ad_storage:consent.marketing?"granted":"denied",analytics_storage:consent.analytics?"granted":"denied",personalization_storage:consent.preferences?"granted":"denied"};gtag("consent","update",consentMode),localStorage.setItem("consentMode",JSON.stringify(consentMode))}function waitForElement(selector){return new Promise(resolve=>{const intervalId=setInterval(()=>{const element=document.getElementById(selector);element&&(clearInterval(intervalId),resolve(element))},100)})}async function retrieveShopifyBanner(){await waitForElement("shopify-pc__banner")&&(document.getElementById("shopify-pc__banner__btn-accept").addEventListener("click",function(){setConsent({necessary:!0,analytics:!0,preferences:!0,marketing:!0})}),document.getElementById("shopify-pc__banner__btn-manage-prefs").addEventListener("click",function(){document.getElementById("shopify-pc__prefs__header-accept").addEventListener("click",function(){setConsent({necessary:!0,analytics:!0,preferences:!0,marketing:!0})}),document.getElementById("shopify-pc__prefs__header-decline").addEventListener("click",function(){setConsent({necessary:!1,analytics:!1,preferences:!1,marketing:!1})}),document.getElementById("shopify-pc__prefs__header-save").addEventListener("click",function(){setConsent({necessary:!0,analytics:document.getElementById("shopify-pc__prefs__analytics-input").checked,preferences:document.getElementById("shopify-pc__prefs__preferences-input").checked,marketing:document.getElementById("shopify-pc__prefs__marketing-input").checked})})}),document.getElementById("shopify-pc__banner__btn-decline").addEventListener("click",function(){setConsent({necessary:!1,analytics:!1,preferences:!1,marketing:!1})}))}retrieveShopifyBanner();
2//# sourceMappingURL=/cdn/shop/t/26/assets/consent_mode.js.map?v=74122618216724266241751901157

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.