Created
November 2, 2019 19:03
-
-
Save Jhoow13/e05c490de03fb755e923b2404933ea9e to your computer and use it in GitHub Desktop.
Chrome dino game auto jump
This file contains 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
setInterval(function(){ | |
var evt = new KeyboardEvent('keydown', {'keyCode':38, 'which':38}); | |
document.dispatchEvent (evt); | |
}, 100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment