Skip to content

Instantly share code, notes, and snippets.

@worldoptimizer
Created January 14, 2021 10:43
Show Gist options
  • Save worldoptimizer/0ad535e84db54f52cf8c0f3bd2e3037e to your computer and use it in GitHub Desktop.
Save worldoptimizer/0ad535e84db54f52cf8c0f3bd2e3037e to your computer and use it in GitHub Desktop.
setInterval(function(){
var elm = document.querySelector((Math.random()>0.5)? '#leftKey' : '#rightKey');
elm.click();
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment