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.36k stars 687 forks source link

fixed bug where non-JSON text/html pages were polluted #218

Closed roth-michael-zz closed 6 years ago

roth-michael-zz commented 6 years ago

fixes #180

Note that if the first childNode on a page is JSON-like (i.e. passes either isJSON or isJSONP in check-if-json.js) the page will still be polluted.

camdenorrb commented 6 years ago

Hopefully the author is still somewhat active to accept this pull request

tulios commented 6 years ago

Thanks @roth-michael, I will try to release a new version this week.

nikoudel commented 5 years ago

@tulios can you please release this? JsonViewer breaks Elm programs pretty badly https://github.com/elm/virtual-dom/issues/148