tell application "Firefox"
activate
set FirefoxURL to properties of front window as list
end tell
tell application "Safari"
activate
set URL of document 1 to item 3 of FirefoxURL
end tell
[kirkmc adds: Works fine for me.]
|
|
|
I've seen a couple scripts to open the current Safari page in Firefox, but none for the other way around. I use this with LaunchBar so I can easily view the page in Safari, then quit with a couple keystrokes. Here's the script:
[kirkmc adds: Works fine for me.]
•
[9,714 views]
Hint Options
Open Current Firefox Page in Safari
Even easier...drag the url in Firefox to your Safari icon in the Dock...voila!
Open Current Firefox Page in Safari
Presumably a key combo could be assigned to the script. I don't see much need for this though, since I don't know of any sites which support Safari but not Firefox (unlike the other way around). I guess it would be useful if you wanted to see what a page would look like if you weren't logged in to that given website.
Open Current Firefox Page in Safari
The script fails if Safari isn't running or if Safari has no open windows. I use this instead:
tell application "Firefox" to set FirefoxURL to properties of front window as list tell application "Safari" to open location (item 3 of FirefoxURL)
Open Current Firefox Page in Safari
There's also the Safari View extension.
Open Current Firefox Page in Safari
Or you can use Quicksilver for this without scripting. Lots of ways, but one would be to set up a trigger:
Open Current Firefox Page in Safari
Easiest way: quit Safari and enable the Safari Debug menu, by typing:
defaults write com.apple.Safari IncludeDebugMenu 1 in Terminal. The Debug menu allows you to open the current webpage in any other browser.
Open Current Firefox Page in Safari
As WCityMike points out just use the Safari View extension. No additional scripts to write, no LaunchBar, QuickSilver or Terminal commands required. Just right click on a page and select 'open in Safari'. Or right click on a link and do the same thing. Seems the easiest solution to me.
Why would you want to?
Why would you want to do this on a regular basis? The only time I ever need to do this is to see MS Windows Media files on certain web sites. Flip4Mac doesn't seem to work with Firefox on some sites at least.
Open Current Firefox Page in Safari
Got this to work with FF4 to Safari with a few changes: Edited on Apr 12, '11 05:29:25AM by BigBadbenny
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.39 seconds |
|