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

Please test this extension in Chrome canary #266

Closed naman-narula closed 5 months ago

naman-narula commented 7 months ago

A new pretty print feature has been introduced in Chrome. The extension is functional but the pretty print bar appears on top of the UI created by this extension.

rishiraj88 commented 6 months ago

nice

reilg commented 5 months ago

image

I would like to keep using the extension because the feature in Chrome doesn't have highlighting, afaict.

I cannot find a way to disable the feature in Chrome itself. Anyone got suggestions?

c4ldas commented 5 months ago

I would like to keep using the extension because the feature in Chrome doesn't have highlighting, afaict.

I cannot find a way to disable the feature in Chrome itself. Anyone got suggestions?

I don't have Chrome here, but there is a way on Edge and Brave. Maybe Chrome also has any of the options.

On Edge, you can disable it on the flags webpage:

edge://flags/#edge-json-viewer

image

On Brave, you can add the following flag to the shortcut:

--disable-blink-features=PrettyPrintJSONDocument

https://community.brave.com/t/how-to-disable-new-pretty-print/506408/9

JonathanBout commented 5 months ago

This is now in my non-canary Chrome but I can't find the option in chrome://flags. I don't have any extension dev experience but it shouldn't be too hard to hide the element right?

guohuihot commented 5 months ago

The latest version of edge 123.0.2420.8 no longer has this setting. What should I do image