barbushin / javascript-errors-notifier

Google Chrome and Firefox extension that notifies about JavaScritp errors by icon in address bar & popups
MIT License
206 stars 62 forks source link

Browser support Firefox #65

Closed guilhas closed 6 years ago

guilhas commented 7 years ago

Hello,

Any idea of supporting Firefox?

Regards, Lino

barbushin commented 7 years ago

Sorry, it's not possible.

captainbrosset commented 6 years ago

I tested this in Firefox, which supports a lot of the same APIs that Chrome does, and it worked.

I just had to fix a small thing in the manifest: "options_page": "options.html". It looks like Firefox does not recognize this configuration at all, and that prevents the addon from loading.

But other than this, it appears to work fine, as shown below on cnn.com:

capture

This extension is really useful for people who just want to know if something's wrong quickly without opening devtools first. It would be really good to make it Firefox-compatible (especially because it looks like it can be done very easily) and have it on addons.mozilla.org for Firefox users to use too.

juliandescottes commented 6 years ago

You can specify an options page by using the following syntax:

"options_ui": {
  "page": "options.html",
  "browser_style": true
},

It is supported by both Chrome and Firefox :

MikeRatcliffe commented 6 years ago

@barbushin It really would be awesome if you could make the small change and make it available in both the Firefox and Chrome stores!

barbushin commented 6 years ago

Here we go https://addons.mozilla.org/en-US/firefox/addon/javascript-errors/

barbushin commented 6 years ago

Guys, please rate it in FF store. Thanks!