Created
July 22, 2019 10:47
-
-
Save sempostma/1ae721f29f00a0ec07ecb0573ff4b91b to your computer and use it in GitHub Desktop.
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
var inputText = '._3u328'; | |
var sendBtn = '._3M-N-'; | |
setInterval(function(){ | |
document.querySelector(inputText).innerText = 'test'; | |
var event = new Event('input', { | |
'bubbles': true, | |
'cancelable': true | |
}); | |
document.querySelector(inputText).dispatchEvent(event); | |
setTimeout(function(){document.querySelector(sendBtn).click();}, 1) | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment