Double Halo Diamond Pendant In 14 Karat White & Yellow Gold Featuring A 0.71ct Cushion Cut Diamond Natural Yellow In Colour VS1 In Clarity Accented By 45=0.35ctw Round Brilliant Cut Diamonds GH In Colour SI1 In Clarity
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");
});