callumlocke / json-formatter

Makes JSON easy to read.
https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en
BSD 3-Clause "New" or "Revised" License
3.76k stars 859 forks source link

[Instruction] Disabling Native JSON Viewer on Edge, Chrome and Brave #272

Open c4ldas opened 4 months ago

c4ldas commented 4 months ago

To disable the native JSON Viewer, add the following flag on the shortcut properties:

Edge:

[Edited] Edge has now a "JSON Viewer" flag that can be disabled:

Go to edge://flags/#edge-json-viewer and disable it.

--disable-features=msEdgeJSONViewer

Your shortcut will look like this:

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default --disable-features=msEdgeJSONViewer

Chrome and Brave:

Same process, but the flag is a little bit different: --disable-blink-features=PrettyPrintJSONDocument

image

Restart the browser and make sure there are no process left on Task Manager. You can reboot the computer just to make sure. After that, the native JSON Viewer will be disabled.

On Chrome, it will show a small banner on top every time you open it saying You are using an unsupported command-line flag: --disable-blink-features=PrettyPrintJSONDocument. Stability and security will suffer. You can just close the banner.

c4ldas commented 2 months ago

Edge has now a "JSON Viewer" flag that can be disabled.

Go to edge://flags/#edge-json-viewer and disable it.

rishiraj88 commented 2 months ago

Thanks, @c4ldas , for the handy tip with URL, snippet and screenshot. This has potential to save time for many of us.