Jump to content

Open URL in Chrome's current tab in Firefox


Recommended Posts

Posted
Alfred Workflow to open Chrome's current tab in Firefox by using 'ff' keyword.
 
I use it in web development to check if a website is looking good in Firefox.
 

Any chance of doing just the opposite?

Posted

Any chance of doing just the opposite?

 

1. Go into the Workflows panel of Alfred's Settings.

2. Select Firechrome-Workflow.

3. Double click 'Run Script' action.

4. Delete Code and insert

 

tell application "Firefox" to activate

tell application "System Events"
	keystroke "l" using {command down} -- Highlight the URL field.
	delay 0.5
	keystroke "c" using {command down} -- Copy the URL field.
	delay 0.5
	do shell script "Open -a 'Google Chrome' " & (the clipboard)
end tell

 

It's not very fast, but the simplest solution I could find right now. Ok to you?

 

(sorry for delayed answer, have to figure out how to receive an email when someone quotes me)

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...