搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Is it possible to disable the JSON Viewer in Firefox Developer Edition?

  • 1 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 d.mattera

more options

Hi, I really love everything about Firefox Developer Edition, except the JSON viewer. I'm used to looking at plain formatted JSON like the JSON Formatter plugin provide. But, even thought I have installed JSON Formatter (https://addons.mozilla.org/en-US/firefox/addon/json-formatter/?src=recommended), it only shows this tree/table-ish viewer that comes with Firefox Developer Edition. Is there any way to disable this feature and use a plugin for this, just as in Firefox ?

所有回覆 (1)

more options

I believe what you're looking for should be possible on Dev edition (I have Nightly and Stable installed and confirmed the following on both):

  1. enter "about:config" (without the quote marks) into your address bar and hit Enter
  2. read & accept the warning
  3. in the search bar located at the top of the page, copy/paste: "devtools.jsonview.enabled" (without quotes)
  4. click the toggle button to change from "true" to "false"
  5. restart Firefox

This will stop Firefox from changing the page content from raw JSON to it's own built-in JSON viewer and allow the add-on you mentioned to modify the raw JSON as desired.