Last active
September 20, 2022 14:29
-
-
Save TerrorJack/20224d78518168ef4d6516c8abc4b2b4 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
setInterval(() => { | |
for (const sel of [ | |
".c-button", | |
".p-ia__view_header__button_text", | |
".p-unreads_view__show_newer", | |
]) | |
for (const e of document.querySelectorAll(sel)) | |
if (e.innerText && e.innerText.toLowerCase().includes("new message")) | |
e.click(); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment