Hi,
if you're facing issue with the AJAX requests handling in firefox.
option-1:
Get GreaseMonkey + XMLHttpRequest Bypass script hack
If this doesn't works for try next option
option-2:
Setp-1:
---------------------------------------------+
Add this line of Javascript code before calling each XMLHTTPREQUEST.open function
netscape.security.PrivilegeManager.enablePrivilege(”UniversalBrowserRead”);
Code:
// create XmlHttpRequest Object
var xmlhttp = new XMLHttpRequest();
// Enable Universal Browser Read
try{ netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); }
catch(e){ alert(e); }
// before each
xmlhttp.open(METHOD, URL);
Step-2 {Optional for FF2 / Mandatory for FF3}
---------------------------------------------+
- Open Firefox browser and navigate url > "about:config"
- Search this property by using the filter "signed.applets.codebase_principal_support"
- and set the Boolean value to "true"
Comment : A codebase principal is a principal derived from the origin of the script rather than
from verifying a digital signature of a certificate. Since codebase principals offer weaker security,
they are disabled by default in Mozilla. More info: http://www.mozilla.org/projects/secu...d-scripts.html
Step-3 {Optional }
------------------+
- Open Firefox browser and navigate url > "about:config"
- Search this property by using the filet "security.fileuri.strict_origin_policy"
- and set the Boolean value to "false"
Comment : allowed XMLHttp to do it’s thing from a file:///
-------
Hope this helps you.
Raghava Chinnappa