EmailThis / extension-boilerplate

⚡️ A template for building cross browser extensions for Chrome, Opera & Firefox.
https://www.emailthis.me/open-source/extension-boilerplate
MIT License
3.28k stars 370 forks source link

I already have chrome extension, how to convert into firefox extension too? #17

Open jitendravyas opened 7 years ago

bharani91 commented 7 years ago

There is a slight difference between the the API that Chrome provides and the WebExtensions API. If you already have a working Chrome extension, you can refer to the src/utils/ext.js file - this acts as a polyfill and provides a uniform API. You can use that as a starting point for porting your extension to Firefox.