tulios / json-viewer

It is a Chrome extension for printing JSON and JSONP.
https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh
MIT License
3.34k stars 685 forks source link

Does it work in chrome 58? #154

Open rotexhawk opened 7 years ago

rotexhawk commented 7 years ago

This extension was working great prior to updating my browser to chrome 58. Now I get this message Resource interpreted as Document but transferred with MIME type application/json.

Tested it with multiple urls. These exact urls worked yesterday. Is this compatible with chrome 58?

tulios commented 7 years ago

Hi @rotexhawk the extension is compatible, I'm using chrome 58 myself. Can you share any of the URLs? You can try this one (https://api.github.com/repos/tulios/json-viewer) in your machine and see if it's working.

rotexhawk commented 7 years ago

I got it to work partially. It works with small JSON but for larger JSON, if I set the alwaysFold:True it gives me the same message as above. However if I don't do that I can see the JSON but when I click on collapse arrow, I get JS error.

viewer.js:3 Uncaught Error: Inserting collapsed marker partially overlapping an existing one

eorroe commented 7 years ago

Not working for me either, yet I don't see any error

Askolein commented 7 years ago

Chrome 58: it works but for larger file (starting at ~1Mb) folding is very slow. Better setting "Always fold" to false to prevent this behavior.

eorroe commented 7 years ago

Always had that setting set to false still doesn't work 😕

xyzdata commented 7 years ago

me to!

Resource interpreted as Document but transferred with MIME type application/json: "http://10.6.1.81/wts/getSubjectTreeNode.json".

Navigated to http://10.6.1.81/wts/getSubjectTreeNode.json

Version 59.0.3071.109 (64 bit) Chrome & windows7

but Chrome canary is OK for windows7 !

tulios commented 7 years ago

It might be related to the node split (https://github.com/tulios/json-viewer/pull/133)

eswat2 commented 7 years ago

just in case anyone else is still having an issue with Chrome, i found out today that the Ghostery extension was preventing json-viewer from rendering json in the latest version of Chrome. With Ghostery enabled, it just displayed json in the browser without invoking the json-viewer extension (or so it seems). As soon as i disabled Ghostery, the json sample rendered properly thru this extension.

screen shot 2017-07-18 at 8 41 47 am

i realize this might be offtopic, but i found this while trying to understand the problem i was having with the extension not rendering json in Chrome.

tulios commented 7 years ago

I think this issue will be fixed in the next release (PR #150)