json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

Integration with firefox

Open gladson opened this issue 10 years ago • 2 comments

It would be great if there is integration with firefox.

gladson avatar May 16 '14 19:05 gladson

Fast forward to 2017, Firefox now has a built-in JSON viewer :p

firefox_2017-10-29_16-07-28

There's still some value in using this extension over Firefox's built-in, they don't have a syntax highlighter or much customisation options or support JSONP.

Luckily with Firefox's new support for WebExtensions, the JSON Viewer extension does work apart from some issues I found:

  • You need to go to about:config and turn devtools.jsonview.enabled to false to turn off the built-in JSON viewer
  • The extension's options is not accessible from the Add-ons Manager because Firefox didn't implement the options_page manifest key, use options_ui instead.
  • The options page is lacking some styles
  • window.json in console doesn't work on strict CSP (example)
  • Custom styles don't work on strict CSP

2017-10-29_16-34-57

ngyikp avatar Oct 29 '17 08:10 ngyikp

Sorry for bumping an old issue, but I had been using this on chrome and have recently moved to waterfox (fork of firefox) and would really love to have this!

DentFuse avatar Sep 06 '19 16:09 DentFuse