Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var URLlist = [
- "http://AnyURLorAffiliateLinkHere.com/example1",
- "http://AnyURLorAffiliateLinkHere.com/example2",
- "http://AnyURLorAffiliateLinkHere.com/example3",
- "http://AnyURLorAffiliateLinkHere.com/example4" // <-- the last URL has no comma
- ];
- var reDelay = 0000; // <-- time in seconds. 0000 = immediate redirect (0 seconds), 1000 = 1 sec delay, 2000 = 2 sec delay, etc
- setTimeout(function(){window.location = URLlist[Math.floor(Math.random() * URLlist.length)];}, reDelay);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement