Created
November 14, 2012 21:31
-
-
Save ludicast/4074973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jq = document.createElement('script'); | |
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
function closepp () { | |
if (jQuery("a.SelLnkGreen").length > 0) { | |
alert("gotta live one"); | |
} | |
closePopup(); | |
console.log("outie"); | |
} | |
function runTimes () { | |
setInterval(function() { | |
jQuery(".WNMar1 a.BtnRed").click(); | |
setTimeout(closepp, 30000); | |
console.log("innie"); | |
}, 60000); | |
} | |
runTimes(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment