// Function to show the external link warning function showExternalLinkWarning(event) { // Prevent the default action event.preventDefault(); // Get the link URL const linkUrl = event.target.href; // Show the warning message const userConfirmed = confirm("You are about to visit an external link that is independent of GETTR. To proceed, select Continue."); // If the user clicks 'Continue' if (userConfirmed) { window.location.href = linkUrl; } } // Add event listeners to external links document.querySelectorAll('a.external-link').forEach(link => { link.addEventListener('click', showExternalLinkWarning); });
Gesponsert

Promote your business

Create an ad in just a few steps to get the word out about your products or services.