Is there a way to port a chrome extension to other browsers?

David picture David · Aug 11, 2010 · Viewed 12.5k times · Source

Is there a way to port a chrome extension to other browsers, without having to entirely re-write the code? My chrome extension uses the browser_action command to open "popup.html" in the extension window...

Update: I found adblockforchrome port.js and found it only somewhat helpful for porting to Safari...

Answer

user113292 picture user113292 · Aug 14, 2010

Apple provides some guidance on how to port convert a Chrome extension to Safari, but the problem you're going to run into is that each browser has a different set of allowed functionality for extensions. Even with Chrome to Safari, there are things you could do in Chrome you can't do in Safari, and visa versa.