Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
c4ldas opened this issue Apr 11, 2024 · 2 comments
Open

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

c4ldas opened this issue Apr 11, 2024 · 2 comments

Comments

@c4ldas
Copy link

c4ldas commented Apr 11, 2024

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
Copy link
Author

c4ldas commented Jul 2, 2024

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

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

@rishiraj88
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants