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

Remove the new pretty-print bar #269

Closed JonathanBout closed 5 months ago

JonathanBout commented 5 months ago

In newer versions of at least Chrome, a pretty-print bar appeared: Pretty-print with checkbox

This doesn't work and is redundant when using this extension. This PR hides all elements with the class json-formatter-container which is the one used in Google Chrome.

Resolves #266

JonathanBout commented 5 months ago

@Roma-Koval what do you mean exactly? This PR hides the element the browser provides, it doesn't add it

cowwoc commented 5 months ago

@JonathanBout I think you both mean the same thing. The goal of this PR is to hide the built-in pretty-printing component.

callumlocke commented 5 months ago

🙏 submitted to the store as v0.7.2, hope they'll approve quickly

callumlocke commented 5 months ago

NB I screwed up this build and submitted it to the store without any CSS. So I did another quick fix as v0.7.3 and submitted that as soon as the store would let me, and fortunately they've approved that already. Please @ me here if you see any new issues after updating to v0.7.3.

JonathanBout commented 5 months ago

It works for me!