Open Firefox Page in Safari
Submitted by andrew on Thu, 09/25/2008 - 01:46
I do most of my website development work in Firefox, due to the availability of extensions such as Firebug, YSlow, and Tamper. Sometimes, I want to check a page in another browser so I can log in as a different user. This simple Applescript, combined with Quicksilver, allow me to easily open the current Firefox page in Safari:
tell application "Minefield" to set theURL to «class curl» of window 1
tell application "Safari"
activate
open location theURL
end tell
As you can see, I'm using a custom Intel-optimized build, so Firefox is titled "Minefield". If you're using the normal Firefox application, just change Minefield to Firefox in the script.