Created
November 5, 2015 23:29
-
-
Save themorgantown/3e3e6a42e17ebcbc766c to your computer and use it in GitHub Desktop.
Automator Script for Unblocking Twitter Accounts En Masse. I recommend turning images off in the 'Develop' menu of Safari.
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
tell application "Safari" | |
activate | |
open location "https://twitter.com/settings/blocked" | |
delay 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[0].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[1].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[2].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[3].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[4].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[5].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[6].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[7].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[8].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[9].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[10].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[11].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[12].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[13].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[14].click()" in current tab of window 1 | |
do JavaScript "document.getElementsByClassName('blocked-text')[15].click()" in current tab of window 1 | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment