Use AppleScript to open current Safari URL in Google Chrome Dominik Pietsch, 14.03.11, 16:01
I’ve been using John Gruber’s suggestions from Going Flash-Free on Mac OS X, and How to Cheat When You Need It to avoid installing Adobe Flash by using Google Chrome (which includes its own version of Flash) whenever I run into a page that has Flash I want to see.
To make this easier, John suggested turning on the “Develop menu” in Safari’s “Advanced” preferences, which includes a sub-menu to “Open Page With” and a sub-sub-menu that shows all of your installed browsers. John suggested using System Preferences to create a keyboard shortcut for “Google Chrome” or “Google Chrome.app” depending on which one you saw in the menu.
Unfortunately, this failed for me quite often. Every time I launched Safari, the keyboard shortcut would not work until I had opened that menu manually using the mouse. I hate using the mouse. After opening the menu, the keyboard shortcut would work until I quit Safari again. That was mildly annoying, but things recently took a turn for the worse.
Here’s what the menu looks like for me now:
Notice that the browser listings now include version numbers. This means that a keyboard shortcut would have to include the version number, which means it would break whenever the browser is updated.
I asked a few folks, and it appears this changed in Safari 5.0.4. I haven’t been able to find a way to revert to the old behavior, so I started looking for another way.
Use AppleScript to open current Safari URL in Google Chrome originally appeared on TUAW on Mon, 14 Mar 2011 07:00:00 EST. Please see our terms for use of feeds.