X
點擊此處開啟此網站的行動版。

技術支援討論區

devtools.jsonview.enabled = true no longer working in 71.0 Win

已張貼

As the tin says, the internal json viewer is no longer working. Now it throws the "you have chosen to open" dialog. I use this every few minutes all day long.

As the tin says, the internal json viewer is no longer working. Now it throws the "you have chosen to open" dialog. I use this every few minutes all day long.
引用

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36

更多資訊

提出問題者

Replying to self here, mysteriously, the viewer is now working again.

Replying to self here, mysteriously, the viewer is now working again.
這篇文章有幫助嗎?
引用

提出問題者

I spoke too soon. This looks to come and go. This morning with a fresh reload of Firefox it's back to not displaying and throwing the 'you have chosen to open' dialog again.

I spoke too soon. This looks to come and go. This morning with a fresh reload of Firefox it's back to not displaying and throwing the 'you have chosen to open' dialog again.
這篇文章有幫助嗎?
引用

提出問題者

Is no one else experiencing this?

Is no one else experiencing this?
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17694 個解決方法 160088 個答案

The builtin JSON viewer only works with local .json files and files send by a server as application/json. Any other file type will give a download dialog that you would have to override to make the JSON viewer work.

The builtin JSON viewer only works with local .json files and files send by a server as application/json. Any other file type will give a download dialog that you would have to override to make the JSON viewer work. *https://developer.mozilla.org/en-US/Tools/JSON_viewer *https://addons.mozilla.org/firefox/addon/content-type-fixer/
這篇文章有幫助嗎?
引用

提出問題者

I don't understand, this was working in the last version. It was working intermittently, then it stopped working.

Adding the Content Type Fixer add-on had no effect, json was set to ON.

I don't understand, this was working in the last version. It was working intermittently, then it stopped working. Adding the Content Type Fixer add-on had no effect, json was set to ON.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17694 個解決方法 160088 個答案

Does the file have a .json file extension ?

Try to rename/remove handlers.json and delete mimeTypes.rdf, when present, in the Firefox profile folder with Firefox closed to reset all file actions.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Does the file have a .json file extension ? Try to rename/remove handlers.json and delete mimeTypes.rdf, when present, in the Firefox profile folder with Firefox closed to reset all file actions. You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Folder/Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles
這篇文章有幫助嗎?
引用

提出問題者

Yes, the files have .json extensions.

Deleting both files with Firefox closed didn't change the behavior unfortunately.

Yes, the files have .json extensions. Deleting both files with Firefox closed didn't change the behavior unfortunately.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題