Direkt zum Inhalt
Einkaufswagen
€0,00
(0)
Über uns
Handguss
Formenbau
Kosmetika
Dentalprodukte
Tutorials
Algajoy
Mein Account
Einkaufswagen
€0,00
(0)
Mein Account
Über uns
Handguss
Formenbau
Kosmetika
Dentalprodukte
Tutorials
Algajoy
Ihr Einkaufswagen ist im Moment leer.
Mit dem Einkaufen fortfahren
Einkaufswagen
Mit dem Einkaufen fortfahren
Preis
Menge
Gesamt
Suchen
document.addEventListener("DOMContentLoaded", () => { // Controlla se l'utente sta visitando la pagina specificata if (window.location.pathname.includes("/collections/dental-materials")) { // Crea un modal personalizzato let modal = document.createElement("div"); modal.style.position = "fixed"; modal.style.top = "0"; modal.style.left = "0"; modal.style.width = "100%"; modal.style.height = "100%"; modal.style.backgroundColor = "rgba(0,0,0,0.5)"; modal.style.display = "flex"; modal.style.alignItems = "center"; modal.style.justifyContent = "center"; let modalContent = document.createElement("div"); modalContent.style.background = "white"; modalContent.style.padding = "20px"; modalContent.style.borderRadius = "8px"; modalContent.style.textAlign = "center"; let message = document.createElement("p"); message.textContent = "This section is reserved for dental professionals. Do you confirm that you are a dental professional?"; let confirmButton = document.createElement("button"); confirmButton.textContent = "Confirm"; confirmButton.style.marginRight = "10px"; confirmButton.onclick = () => document.body.removeChild(modal); let cancelButton = document.createElement("button"); cancelButton.textContent = "Cancel"; cancelButton.onclick = () => { window.location.replace("https://algaplay.com"); }; modalContent.appendChild(message); modalContent.appendChild(confirmButton); modalContent.appendChild(cancelButton); modal.appendChild(modalContent); document.body.appendChild(modal); } });