gamroud js
document.addEventListener(“DOMContentLoaded”, function() { const popup = document.getElementById(“popup”); const iframe = document.getElementById(“gumroadIframe”); const close = document.querySelector(“.close”); const buttons = document.querySelectorAll(“.checkoutButton”); buttons.forEach(function(button) { button.addEventListener(“click”, function() { const gumroadCheckoutUrl = this.getAttribute(“data-url”); iframe.src = gumroadCheckoutUrl; popup.style.display = “block”; }); }); close.addEventListener(“click”, function() { popup.style.display…Continue reading