Nytt
// Array of URLs to rotate var urls = [ “https://xristine.com/magazine/order”, “https://xristine.com/magazine/”, ]; // Function to rotate URLs function rotateURLs() { // Get a random index from the array var randomIndex = Math.floor(Math.random() * urls.length); // Redirect to the randomly selected URL window.location.href = urls[randomIndex]; } // Call the rotateURLs function when the page loads rotateURLs();