Last active
April 19, 2018 05:03
-
-
Save baronfel/5b21e4d208b5570b7140d24dae320441 to your computer and use it in GitHub Desktop.
try to repeat messages
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
let text = document.getElementsByTagName('input')[1]; | |
let button = document.getElementsByTagName('button')[0]; | |
setInterval(function () { | |
text.value = "hi frank."; | |
text.dispatchEvent(new Event('change', {bubbles: true})); | |
button.click() | |
}, 10000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment