json-viewer
json-viewer copied to clipboard
Extension no longer works in Chrome dev channel
The extension no longer works in chrome canary or dev channels.
This could be a sign that it will break in future chrome release.
Still works in the chrome prod release channel for now.
Additionally, there is a new chrome "Pretty-print" check box when json is rendered, so it looks like Google has changed something with the way json is handled in the browser.
It's probably worth investigating why it is breaking in the dev channel.
förhoppningsvis går det att fixa.
Version 117.0.5938.63 (Official Build) (64-bit) - extension does not work anymore.
Seems like google chrome has added "pretty print" feature which overrides this extension behavior
Not working on this version of chrome: Version 117.0.5938.62 (Official Build) (64-bit)
how to work?
Seems like google chrome has added "pretty print" feature which overrides this extension behavior
other extensions work, in a weird way still displaying the "pretty print" of new chrome but work at least
It does not work with the latest Chrome release.
I think the problem is here:
https://github.com/tulios/json-viewer/blob/4195c33f4d06e622befaf1102004e2c478d4b9d8/extension/src/json-viewer/check-if-json.js#L25
Extension tries to get the first child from body, but now the first child is DIV
Nice find @bukowskiadam.
On another note, I checked the chrome flags yesterday and I didn't see an option to turn the default json viewer off like exists in edge, maybe someone else will have better luck checking.
Thanks for reporting. I will take a look this weekend
issue solved on Chrome 117.0.5938.132 .
issue solved on Chrome 117.0.5938.132 .
Could you show as example screenshot?
issue solved on Chrome 117.0.5938.132 .
Could you show as example screenshot?
There you go
http://baike.baidu.com/api/openapi/BaikeLemmaCardApi?scope=103&format=json&appid=379020&bk_key=%E5%85%B3%E9%94%AE%E5%AD%97&bk_length=600
issue solved on Chrome 117.0.5938.132 .
Could you show as example screenshot?
There you go http://baike.baidu.com/api/openapi/BaikeLemmaCardApi?scope=103&format=json&appid=379020&bk_key=%E5%85%B3%E9%94%AE%E5%AD%97&bk_length=600
Thanks! It worked for me too!