10k Yellow Gold 6 x 4mm Green Topaz Ring with 2x 1.4mm BG White Sapphire and a Diamond Halo Containing 16=0.08 Total Carat Weight Round Brilliant Cut Diamonds JK in Colour, I1 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");
});