Last active
May 6, 2022 23:58
-
-
Save PeterPorzuczek/7b7ceb1f063948e7396689fc3cfdab2c 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
| // I believe in code reuse so Ctrl-C and Ctrl-V in console of YT page :-> Enjoy :-) | |
| // It may not work since YT records site usage and not accepts recognized patterns | |
| document.getElementById('simplebox-placeholder').focus(); | |
| for(var i = 0; i < 120; i++) { | |
| setTimeout(function (x) { | |
| document.getElementById('contenteditable-root').textContent = "To jest " + x + " odcinek front-endowy"; | |
| document.getElementById('submit-button').disabled = false; | |
| document.getElementById('submit-button').click(); | |
| }.bind(this, i), i * 15000); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment