Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function x(){
- var links = new Array();
- links[0] = "http://tinyurl.com/link1";
- links[1] = "http://tinyurl.com/link2";
- links[2] = "http://tinyurl.com/link3";
- links[3] = "http://tinyurl.com/link4";
- links[4] = "http://tinyurl.com/link5";
- var x = Math.random()*links.length;
- x = Math.floor(x);
- window.open(links[x] ,'_blank');
- }
- document.onclick = x;
- </script>
Advertisement
Add Comment
Please, Sign In to add comment