Any way to "trick" a XHR response in NET Tab?

10 views
Skip to first unread message

barleby28

unread,
Dec 10, 2014, 5:40:51 AM12/10/14
to fir...@googlegroups.com
I'm developing a web page that loads some parameters via Ajax.
I have not access to the values returned in the response, but for testing reasons i'd like to be able to modify some of the parameters and values of the response
Is there any way to do this in Firebug/Firefox?

Only alternative I found was to aim to an .txt file with the desired values, but this one is not desirable.

Thank you in advance for your help.

Sebastian Zartner

unread,
Dec 10, 2014, 6:01:58 PM12/10/14
to fir...@googlegroups.com
There's no such feature in Firebug yet. Though this was already requested in issue 6459.

What you can do at the moment if you really don't have access to the script generating the response is to create your own server script, which sets the appropriate headers. E.g. in PHP this can be done via the header() function.

Sebastian
Reply all
Reply to author
Forward
0 new messages