Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var scrollCount = 0;
- var chickens = false;
- function reDirect() {
- if(!chickens) {
- chickens = true;
- setTimeout("location.href = 'http://getclucky.ytmnd.com/';",100);
- }
- }
- function roll() {
- x = Math.ceil(Math.random() * 100); // change 86 to 2 for your initial test
- if(x <= 5 && (document.referrer == 'http://mortus.no-ip.org/')) {
- reDirect();
- } else {
- setTimeout("reDirect();",59900);
- }
- }
- function onScroll() {
- scrollCount++;
- if(scrollCount > 100) {
- alert('The scroll wheel would thank you if you stopped please.');
- scrollCount = 0;
- }
- }
- window.onscroll = onScroll;
- document.onload = function() {
- warn = document.getElementById("warning")
- alert(warn);
- if(warn != null) {
- warn.onclick = function() {
- this.style.color='#00CC00';
- this.innerHTML="You have one minute :O";
- reDirect();
- }
- }
- };
- roll();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement