Banana Browser Tabs

An Alfred Workflow


Short Description

Send tabs from Chrome to Safari and back

Last Updated

07 May 2015

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0
 

Bundle ID

com.wordpress.shaz00m.banana_browser_tabs
 

Author

This is based on an EventScripts handler I wrote which will automatically migrate tabs from safari to Chrome when the charger is plugged into the computer; and, vice versa. More information about how it works can be found here https://github.com/shazoom/eventscripts. The EventScripts version does a little more—it stops and starts Box Sync—but the main feature is the tab migration.

You will need to install defaultbrowser to use this workflow. Its easy to compile but you will need Xcode installed and can be found here https://github.com/kerma/defaultbrowser. You will need to edit the handler get_defaultbrowser_path in the script chrom_to_safari.scpt to point to the location where you have installed defaultbrowser.

 

This workflow is triggered by the bbt keyword. If Safari is the default browser, its tabs will be migrated to Chrome and if Chrome is default its tabs will be migrated to Safari. You can provide a parameter. This parameter should be either “chrome” or “safari” and it will migrate tabs to that browser.

Screenshots