Last active
December 15, 2019 07:06
-
-
Save jcconnell/8e1e6ccbaac91e2d553e7b422670c791 to your computer and use it in GitHub Desktop.
Open All Safari Tabs in Firefox
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
tell application "Safari" | |
set tab_list to every tab in the front window | |
repeat with the_tab in tab_list | |
set the_url to the URL of the_tab | |
tell application "Firefox Nightly" to open location the_url | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Open All Safari Tabs in Firefox
I've been meaning to make the full on switch to Firefox now that Chrome and Safari have changed the way that Ad-Blocking extensions work in each browser.
I usually keep many tabs open in multiple desktops to organize my work, so the idea of opening all these tabs manually seemed daunting. The script above does this automatically with the latest Firefox nightly (which supposedly has better battery life on Mac OS).
Enjoy!