How to make a XmlHttpRequest in Firefox
Author : Jbuenol
From TechnologicalWiki
Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications which allow code injection by malicious web users into the web pages viewed by other users. Examples of such code include HTML code and client-side scripts. An exploited cross-site scripting vulnerability can be used by attackers to bypass access controls such as the same origin policy. Vulnerabilities of this kind have been exploited to craft powerful phishing attacks and browser exploits. As of 2007, cross-site scripting carried out on websites were roughly 80% of all documented security vulnerabilities. Often during an attack "everything looks fine" to the end-user who may be subject to unauthorized access, theft of sensitive data, and financial loss.
To make a XMLHttpRequest in Firefox, Opera and some other browsers, you need active a derictive in the browser. Through JAVASCRIPT code which allows dodge the Cross-site ban. You must write the following code before the ban instruction is executed :
netscape.security.PrivilegeManager.enablePrivilege("EnableBrowserRead");


