As of version 57, Firefox uses the WebExtensions API, which is largely compatible with that of Chrome. As such, you might be able to use your Chrome extension in Firefox without any major issues. Otherwise, you should use libraries such as Mozilla's WebExtension Polyfill to ensure that your code has the same functionality across browsers.
spam