Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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