dejan/rails_panel

Firefox support

jtmkrueger opened this issue Β· 20 comments

So reading through Browser Extensions I get the idea that supporting both browsers is possible, but I don't know enough about extension development to know the level of work involved to support both. It would be really awesome if rails_panel was also a firefox extension. Is this on the roadmap?

Currently blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1472653

EDIT: Issue is resolved.

I was just wondering about this today, and looks like that bug has been fixed as of two days before I am writing this. Looks like it may be released in the Firefox 67 release, hopefully. Just thought I would bring this up in case y'all want to start developing on this soon.

I'd love to be able to use this extension on Firefox πŸ™‚

It looks like the Firefox Devtools bug @gogiel mentioned above is now resolved.

I could help. Just don't know how, either.

Extensions should be now fully compatible with Firefox.

I did some minor changes to fix CSS issues in Firefox #167

@dejan do you want to publish the extension in Firefox extensions? If you want I can take care of it.

dejan commented

Wow, great stuff, thanks!

I've just published it, it awaits approval...

dejan commented

Thanks a lot guys!

There goes my last reason to ever open Chrome!

Hey guys, I'm I the only one not being able to install the extension on firefox ?
The link provided in the README (https://addons.mozilla.org/en-US/firefox/addon/rails-panel/) leads to an error :
image

dejan commented

It was disabled it because of the following reasons:

  1. jQuery versions older than 3.0 are no longer allowed in extensions. These versions are not supported by the jQuery team and may contain security vulnerabilities.

  2. Your add-on includes a third-party library. Please provide the origin of the exact library version you were using and make sure you are using an exact copy of the original maintainers release version. For more information, refer to https://extensionworkshop.com/documentation/publish/third-party-library-usage/ .
    vendor\assets\javascripts\stupidtable.min.js

  3. Please only use release third party library version, and not beta versions.
    vendor\assets\javascripts\sprintf-0.7-beta1.js

  4. We allow the latest 1.x version at submission time; previous versions are not accepted.

  5. Please use an established library to sanitize data.
    assets\javascripts\filters.js line 39

It's possible to run this project and use it on Firefox manually? I understand that it's not available for the issues mentioned here but I'm really trying to give it a chance if I can install it manually. I'm a newbie on Firefox plugins development so any advice to get it started will be appreciated. Thanks!

@JNajera clone this repository to your local drive and in in Debug add-ons (URL: about:debugging#/runtime/this-firefox) you can load Rails Panel by clicking "Load Temporary Add-on…" and selecting manifest.json from your local copy.

image

Do you plan on making it available for Firefox at some point?

Loading manually as suggested above works fine for me.

I think having instructions on how to install manually in the README would be nice, since the Mozilla team is [sadly] making it so hard to keep it on the store.

Loading manually would work but does indeed present a security risk, hence why it's disabled. Ideally the impacted JavaScript libraries should be upgraded.

So with the rewrite in Vue (Awesome!!), is Rails Panel eligible to be put in the firefox add-on registry?

Looks like the service worker implementation has broken in firefox. I think mozilla/web-ext#2532 explains how to resolve, but I don't know enough about extension development or implementation to offer up much more unfortunately.

For those looking for an alternative, Debugbar is a good option: