Skip to content

Instantly share code, notes, and snippets.

@jcconnell
Last active December 15, 2019 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcconnell/8e1e6ccbaac91e2d553e7b422670c791 to your computer and use it in GitHub Desktop.
Save jcconnell/8e1e6ccbaac91e2d553e7b422670c791 to your computer and use it in GitHub Desktop.
Open All Safari Tabs in Firefox
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
@jcconnell
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment