Skip to content

Latest commit

 

History

History
13 lines (4 loc) · 480 Bytes

File metadata and controls

13 lines (4 loc) · 480 Bytes

Optional: Random Redirector

Create a page which randomly redirects to another. Create an array of urls (as strings), and randomly pick one using Math.random(). Then redirect to the page using window.location.

Version 2

Using JavaScript's timing events show a 5-second countdown to the user. When the countdown is finished, redirect to a random page.