3 ms·
As the developer of an RSS parser, I spend a lot of time hitting View Source, surprisingly often on pages that appear empty in Chrome. In a more general sense
by mmahemoff 10y ago
As the developer of an RSS parser, I spend a lot of time hitting View Source, surprisingly often on pages that appear empty in Chrome.
In a more general sense than RSS, I also have to install extensions to format JSON. Considering how much browsers are targeting developers these days, might they consider rendering JSON, XML, etc in some standard way that is useful to developers (as an option at least). I am talking about syntax highlighting as well as some basic interactive features like expanding/collapsing.
- azernik 10y agoAs far as I know Firefox does this for XML; haven't tried it lately, so I don't know if it behaves similarly for JSON (I know Chrome doesn't).
- bzbarsky 10y agoFirefox nightly and developer edition show JSON loaded directly in a tab (i.e. not in a subframe) in a nice JSON viewer), and have for a while now. Release Firefox does not, for various reasons (including the fact that the current JSON viewer implementation actually changes the DOM of the page involved, which is technically an HTML spec violation).
- chrisrhoden 10y agoIf there are no style parser directives, chrome will render the XML very nicely by default, in my experience. As the developer of an RSS parser