Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Firefox
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 28-Mar-13 12:18pm
Comments
Sergey Alexandrovich Kryukov at 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 at 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 at 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 at 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 at 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)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 210
2 BillWoodruff 195
3 DamithSL 195
4 Richard MacCutchan 178
0 OriginalGriff 5,130
1 DamithSL 4,197
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 28 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100