Open Firefox Page in Safari

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.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <blockquote> <cite> <q> <code> <ul> <ol> <li> <dl> <dt> <dd> <strike>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options

Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.