Skip to content

Instantly share code, notes, and snippets.

@barakplasma
Created November 28, 2016 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barakplasma/301bd44b86c893d07ea428b4eeeee92d to your computer and use it in GitHub Desktop.
Save barakplasma/301bd44b86c893d07ea428b4eeeee92d to your computer and use it in GitHub Desktop.
//to win at https://www.mostexclusivewebsite.com/
var condition = function(){if(parseInt(document.getElementsByClassName('value')[0].innerText.replace(/[,]/g,''))>1569920){return true;}else{return false;}}
undefined
var waiting = function(){if (!condition()){setTimeout(waiting,60000);console.log("another 60 seconds",1569924-parseInt(document.getElementsByClassName('value')[0].innerText.replace(/[,]/g,'')));}else{alert("now!");}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment