is only a fallback for a
// stale snippet, and it puts the rules after #ot-custom-css.
function otInjectStyle(key, slotId) {
const css = (window.otStyles || {})[key];
if (!css) return;
if (slotId) {
const slot = document.getElementById(slotId);
if (slot) {
slot.textContent = css;
return;
}
}
const style = document.createElement("style");
style.textContent = css;
document.getElementsByTagName("body")[0].appendChild(style);
}
function otGetResouceFile(fileName) {
const listFile = [{
key: 'full',
url: "https://cdn.shopify.com/extensions/01a11eaa-24ab-7250-b3dd-58b46e73fccd/consentik-ex-202610091016/assets/full.js",
},{
key: 'corner',
url: "https://cdn.shopify.com/extensions/01a11eaa-24ab-7250-b3dd-58b46e73fccd/consentik-ex-202610091016/assets/corner.js",
},{
key: 'sidebar',
url: "https://cdn.shopify.com/extensions/01a11eaa-24ab-7250-b3dd-58b46e73fccd/consentik-ex-202610091016/assets/sidebar.js",
},{
key: 'center',
url: "https://cdn.shopify.com/extensions/01a11eaa-24ab-7250-b3dd-58b46e73fccd/consentik-ex-202610091016/assets/center.js",
},
{
key: 'custom',
url: "https://cdn.shopify.com/extensions/01a11eaa-24ab-7250-b3dd-58b46e73fccd/consentik-ex-202610091016/assets/custom.js",
},
{
key: 'dataRequest',
url: "https://cdn.shopify.com/extensions/01a11eaa-24ab-7250-b3dd-58b46e73fccd/consentik-ex-202610091016/assets/dataRequest.js",
},
]
const fileURL = listFile.find(item => item.key === fileName)
return fileURL.url
}
Skip to main content
Search
- Choosing a selection results in a full page refresh.
- Opens in a new window.


