Featuring a look that's on trend for the season, this sporty Everett watch favors the bold with a gunmetal stainless steel H-link bracelet and genuine...More
Featuring a look that's on trend for the season, this sporty Everett w...
With a case framed by our Fossil Heritage D-Link, the Harwell watch statement bracelet features a gold-tone sunray dial and a polished gold-tone stain...More
With a case framed by our Fossil Heritage D-Link, the Harwell watch st...
document.addEventListener("DOMContentLoaded", function() {
console.log("DOM fully loaded and parsed");
// Function to hide elements by ID and log the action
function hideElementById(id) {
var element = document.getElementById(id);
if (element) {
element.style.display = "none";
console.log(id + " found and hidden on DOM load");
} else {
console.log(id + " not found on DOM load");
}
}
// Hide elements on initial load
hideElementById("product_configure_form");
hideElementById("header-wishlist");
hideElementById("header-fancy-cart");
// Create a MutationObserver to hide elements if they are dynamically added
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type === "childList") {
hideElementById("product_configure_form");
hideElementById("header-wishlist");
hideElementById("header-fancy-cart");
}
});
});
observer.observe(document.body, { childList: true, subtree: true });
console.log("MutationObserver set up to monitor DOM changes");
});