Created
February 28, 2023 01:54
-
-
Save danromero/738c7ff7d23c65c8c5f60935340b7472 to your computer and use it in GitHub Desktop.
Delete Twitter DMs in your message request queue
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
repeat 10 times | |
tell application "Google Chrome" to tell active tab of window 1 | |
execute javascript "document.querySelector('div[role=\"button\"][aria-label=\"Options menu\"]').click();" | |
delay 1 | |
execute javascript "document.querySelector('div[role=\"menuitem\"]').click();" | |
end tell | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a pretty interesting script!