10 Karat White Gold Classic Wedding Band.
Available Widths: 1.5mm, 2mm, 3mm
Available Sizes: 5, 6, 7
Don't see what your looking for? Come in and s...More
10 Karat White Gold Classic Wedding Band.
Available Widths: 1.5mm, 2m...
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");
});