(function() {
const blockedUrls = [
'cdn.shopify.com/shop-assets/static_uploads/shoplift/',
'halen.agency/cdn/shopifycloud/',
'halen.agency/wpm@',
'static.klaviyo.com/onsite/hosted-fonts/',
'cdn.shopify.com/extensions/',
'cdn.shopify.com/static/fonts/',
'halen.agency/cdn/fonts/'
];
const originalFetch = window.fetch;
window.fetch = function(input, init) {
if (typeof input === 'string' && blockedUrls.some(url => input.includes(url))) {
console.warn('[BLOCKED fetch]', input);
return new Promise(() => {}); // never resolves
}
return originalFetch.apply(this, arguments);
};
const originalOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function(method, url) {
if (blockedUrls.some(blocked => url.includes(blocked))) {
console.warn('[BLOCKED xhr]', url);
return;
}
return originalOpen.apply(this, arguments);
};
const observer = new MutationObserver(() => {
document.querySelectorAll('link[rel="stylesheet"], script[src], style').forEach(el => {
const src = el.getAttribute('href') || el.getAttribute('src') || '';
if (blockedUrls.some(url => src.includes(url))) {
console.warn('[REMOVED tag]', src);
el.remove();
}
});
});
observer.observe(document.documentElement, { childList: true, subtree: true });
})();
Skip to content
We started Halen to offer a one stop shop for a variety of high-quality trending jewelry pieces and accessories to please our customers fashion needs with killer deals.