I'm attempting to debug my web application with FireFox3. However, when a JSON feed comes from my application, Firefox wants to open up the "application/json" in a new program. Is there a way to configure FireFox3 to handle JSON like regular text files and open up the JSON in the current tab?
Thanks.
Firefox has a built-in JSON viewer that activates when a server sends a file as "application/json" document and when you open a . json file or drag the . json file in a Firefox window (tab). You can set this pref to true to enable this viewer.
The answer is remote debugging, which will enable you to connect the android device to your workstation via a USB cable and debug your mobile webpage on your desktop. On a side note, you can debug multiple device sizes while performing responsiveness tests simultaneously.
The JSONView Firefox extension is really nice.
It formats, highlights, etc...
The only drawback is that it requires the mime type to be set to "application/json"
.
But it is not really a drawback for you, because based on your "answer" (which shouldn't be an answer) your problem is that the mime type is "application/json"
and as a result Firefox doesn't know what to do with it and downloads it instead of displaying.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With