Jump to content

Firefox: No XHR without Firebug?


roopurt18

Recommended Posts

I was just showing a site that uses AJAX to someone else and it doesn't work.  We're both using Firefox 2.0.0.9 and I have Firebug while the other person doesn't.  I disabled Firebug on my Firefox and sure enough the AJAX functionality went away.

 

Has anyone else noticed this?

Link to comment
https://forums.phpfreaks.com/topic/77107-firefox-no-xhr-without-firebug/
Share on other sites

Yes, I have experienced the exact same problem. The specific details of how I fixed it escape me at the moment, when I get into the office I'll check my code - I switched a true to a false on something and it started working, but then I believe this then caused an issue in IE. But luckily for me, this was being used on a project that had a controlled environment - All machines were Windows/IE7...

Ok, just taken a look at what I done and it appears I changed the request from being asynchronous to synchronous (or visa versa) A certain way round it didn't work in IE, and the otherway round didn't work for me in FireFox with FireBug switched off.

 

Luckily for my situation I could control which browsers are being used, but you may not. I would be interested if you find a proper solution to this.

Just took a look at a quick test i put together for a post on the forum the other day - the AJAX request seems to work perfectly fine for me in firefox. Running 2.0.0.9 without the firebux extension. The javascript it uses is the same as can be found here:

 

http://www.ajaxfreaks.com/tutorials/1/0.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.