django-developer-panel icon indicating copy to clipboard operation
django-developer-panel copied to clipboard

Any plans for Firefox support?

Open Routhinator opened this issue 7 years ago • 4 comments

In the wake of the revelations of tracking abuse as of late, I find myself using Firefox 100% of the time and miss this tool. I see no equivalents for FF. Any plans for supportting it?

Routhinator avatar Oct 05 '18 03:10 Routhinator

Love the idea. Would have to explore the firefox developer APIs to understand what it would take to achieve this.

ckinsey avatar Jan 04 '19 04:01 ckinsey

@Routhinator I've just tested it in Firefox and it actually works with no modifications.

  1. Download the extension from https://github.com/loftylabs/djdevpanel-devtools
  2. Unzip it, and then unzip the archive in dist
  3. Go to about:debugging in Firefox
  4. Click "Load Temporary Add-on" and select any file in the unzipped dist directory

I think this only works until Firefox is restarted though. I haven't yet worked out how to make it permanent without publishing it.

drcongo avatar Aug 27 '19 15:08 drcongo

Actually, I think I've sort of nailed it.

Unsigned extensions can be installed in Developer Edition, Nightly, and ESR versions of Firefox, after toggling the xpinstall.signatures.required preference in about:config.

So, if you've got a compatible version of Firefox, toggle that setting to True, go to about:addons and choose "Install Add-on From File" in the dropdown, and then choose the precompiled .xpi file attached here for your convenience. I'll issue a pull request in the Chrome plugin repo with the changes I needed to make to the manifest to make the .xpi work djdevpanel-0.1.xpi.zip

Edit: I notice Github has added .zip on the end of the file - it's already a zip archive as that's what a .xpi is, but you'll need to rename it to just djdevpanel-0.1.xpi after downloading. Don't unzip it!

drcongo avatar Aug 27 '19 15:08 drcongo

OK, pull request is in: https://github.com/loftylabs/djdevpanel-devtools/pull/4

If that doesn't end up getting merged you can find everything you need in my fork: https://github.com/drcongo/djdevpanel-devtools

drcongo avatar Aug 27 '19 16:08 drcongo