News for hackers. Stuff that matters.
Re:Porting a Chrome Extension to Firefox by eejdoowad on Monday August 07, 2017 @12:20PM (#14948673)
For my extension Saka Key (https://github.com/lusakasa/saka-key), I decided to use the browser.* APIs on both Chrome and Firefox using Mozilla's web extensions polyfill.

https://github.com/mozilla/webextension-polyfill

The biggest challenge for me was addressing browser incompatibilities and Firefox bugs. This is a big one:

https://bugzilla.mozilla.org/show_bug.cgi?id=1193394

Another is that Firefox doesn't fire blur events when DOM elements are removed or hidden.

The Firefox approval process is slow. Mine took 3 months the first time, < 10 days the second time, and this third time it's taking over a month.

Chrome's reviewal process is really nice. It usually takes <30 minutes.

Re:Porting a Chrome Extension to Firefox by Sylos on Monday August 07, 2017 @12:26PM (#14948736)
>Chrome's reviewal process is really nice. It usually takes <30 minutes.

Nice for the extension developer, but there's a reason for Mozilla's longer review process. They actually sit down human beings to look over the code and that makes all the difference in keeping AMO clean from malware.

Re:Porting a Chrome Extension to Firefox by ChrisSD on Monday August 07, 2017 @12:45PM (#14948895)
Case in point, a recent phishing attack on Chrome extension developers: https://arstechnica.com/information-technology/2017/08/after...
Re:Porting a Chrome Extension to Firefox by chris_wot on Monday August 07, 2017 @03:15PM (#14950338)
Won't this just decentralise add-on distribution away from the Firefox add-ons store?
Re:Porting a Chrome Extension to Firefox by toyg on Monday August 07, 2017 @08:07PM (#14952353)
Most people never install any extension from third-party sites. As long as Firefox keeps the search features as they are, very few will ever venture outside addons.mozilla.org.