How do you view prefs for web-extensions add-ons

Eric Bixby eric.k.bixby at gmail.com
Thu Sep 28 23:20:37 UTC 2017


That works, thanks!

btw, for the Mac it's similar but slightly different:
~/Library/Application
Support/Firefox/Profiles/*/browser-extension-data/<add-on-id>/storage.js

Odd that's it is storage.js and not storage.json, but oh well.

On Thu, Sep 28, 2017 at 2:35 PM, Markus Hitter <mah at jump-ing.de> wrote:

> Am 28.09.2017 um 23:15 schrieb Eric Bixby:
> > I'm trying to debug an add-on using localStorage to save prefs.  The old
> > way is to type "about:config" in the address-bar and then filter by the
> > add-on's id.  I tried using Mozilla Dev Tools, but I don't see anything
> > under local storage.
> >
> > What's the new way to inspect/view add-on prefs?
>
> For debugging, there's about:debugging. Which will you give syntax errors,
> console logs and such stuff for all parts not happening in the browser
> window.
>
> If you're interested in storage's content: it's a plain JSON file stored in
>
> $HOME/.mozilla/firefox/*/browser-extension-data/<add-on-id>/storage.js
>
>
> Markus
>
> --
> - - - - - - - - - - - - - - - - - - -
> Dipl. Ing. (FH) Markus Hitter
> http://www.jump-ing.de/
> _______________________________________________
> Webextensions-support mailing list
> Webextensions-support at mozilla.org
> https://mail.mozilla.org/listinfo/webextensions-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/webextensions-support/attachments/20170928/ba97180d/attachment.html>


More information about the Webextensions-support mailing list