Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello I need an extension to the mozilla firebug that allows me to open in a new window the response of an ajax request, that is because the apache server its giving me the error message in html format and I have to copy and paste the response in a txt rename the extension to html and open it in mozilla.
Posted
Comments
Sergey Alexandrovich Kryukov 28-Mar-13 17:29pm    
Interesting idea. Too bad the solution wold be browser-specific, it would highly limit its value.

It's pretty trivial at the level of a Web application. You can install some HTTP server with some kind of server-side scripting module, create a test site with a page showing the raw HTTP request dump and use it for development. It could be quite light-weight by the way. One such development server is included in Visual Studio, for example.

—SA
Vasily Tserekh 28-Mar-13 21:13pm    
I think that its not a good solution because there are plenty of ajax requests in my project and I only need to watch a few of them
Sergey Alexandrovich Kryukov 28-Mar-13 21:22pm    
What's the difference, many requests or not? This is the development tool, you can make it serving those request the way you want, classify them, write system log, etc. Your "because" does not really explain your point of view. Many requests, so what? How are you going to make it better on the browser level (but I already said, this is a good idea anyway)? With the server-side tool — just the opposite — you would be able to debug the effects of those multiple requests, how about that?

But then, the development tool would be browser-independent. This is also useful, as you cannot limit yourself to just the Gecko, if you need for Web development.

At the same time, I don't say the server-side idea is always superior. I though about that just because it's more or less clear how to implement it, and extension to Mozilla would need digging into the Mozilla plug-in APIs...

—SA
Vasily Tserekh 29-Mar-13 12:35pm    
What i have understood is that the browser is listening throught the port 80 and one program can listen to one port at a time that solution that you gave me requires that another software will be listening to the same port as the browser and that I think it cant be done
Sergey Alexandrovich Kryukov 29-Mar-13 13:43pm    
Browser is not really listening, it acts as an TcpClient.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900