It looks like nothing was found at this location.
style.textContent = ` script>
}
}
}
}
})
/* Override font-face rules pointing to old domain */
@font-face {
font-family: 'Montserrat';
src: local('Montserrat'), local('Arial'), sans-serif;
}
@font-face {
font-family: 'Unna';
src: local('Georgia'), local('Times New Roman'), serif;
}
`;
document.head.appendChild(style);
// Remove any style tags with problematic font URLs
const removeBadFonts = function() {
const styleTags = document.querySelectorAll('style');
styleTags.forEach(function(tag) {
const text = tag.textContent;
if (text.includes('cherylwwellness') ||
text.includes('custom-font') ||
text.includes('Montserrat-VariableFont')) {
// Simply remove the entire style tag
tag.remove();
}
});
};
// Run immediately and after DOM loads
removeBadFonts();
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', removeBadFonts);
}
// Also run after a short delay to catch late-loading styles
setTimeout(removeBadFonts, 500);
})();