Last active
September 5, 2023 19:05
-
-
Save garrettdashnelson/06f0a77f3e6b71bcb6e6c40832465672 to your computer and use it in GitHub Desktop.
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
javascript: (() => { let elements = ["tab-Red", "tab-Green", "tab-Blue", "tab-Orange"]; let n = 0; let doClick = function () { document.getElementById(elements[n]).click(); if (n == elements.length - 1) { n = 0; } else { n = n + 1; } }; setInterval(doClick, 5000); })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment