Everyone knows about “View – Page Source” in Firefox & it’s counterparts in other browsers , but have you ever hit a web page that returns JSON or XML or some other text and have Firefox prompt you to choose an application to open it ? So annoying! Why can’t Firefox just display it?!??!
I stumbled across a great workaround while clicking around the Project Zero forums: view-source:
It’s used like this:
That’s it … just prepend view-source: to any URL and it will display the source… so handy for those pesky JSON URLs!