320: pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess"); 321: pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess"); 322: pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess"); 323: pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess"); 324: pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess"); 325: pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
2690: // Create the request object; Microsoft failed to properly 2691: // implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available 2692: var xhr = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); 2693:
2712: // Set header so the called script knows that it's an XMLHttpRequest 2713: xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
1112: return Try.these( 1113: function() {return new XMLHttpRequest()}, 1114: function() {return new ActiveXObject('Msxml2.XMLHTTP')},
1241: var headers = { 1242: 'X-Requested-With': 'XMLHttpRequest', 1243: 'X-Prototype-Version': Prototype.Version,
3259: // Create the request object; Microsoft failed to properly 3260: // implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available 3261: // This function can be overriden by calling jQuery.ajaxSetup
3408: // Set header so the called script knows that it's an XMLHttpRequest 3409: xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); 3410:
1887: // If IE is used, create a wrapper for the XMLHttpRequest object 1888: if ( !window.XMLHttpRequest ) 1889: XMLHttpRequest = function(){ 1890: return new ActiveXObject("Microsoft.XMLHTTP");
1998: // Set header so the called script knows that it's an XMLHttpRequest 1999: xml.setRequestHeader("X-Requested-With", "XMLHttpRequest");
Página inicial do Google - Google Code - Debater - Termos de serviço - Ajuda - Envie o seu código
©2009 Google - Privacidade