A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest below:

XMLHttpRequest: XMLHttpRequest() constructor - Web APIs

XMLHttpRequest: XMLHttpRequest() constructor

Baseline Widely available

Note: This feature is available in Web Workers, except for Service Workers.

The XMLHttpRequest() constructor creates a new XMLHttpRequest.

Syntax
new XMLHttpRequest()
// Non-standard
new XMLHttpRequest(options)
Parameters

There are no standard parameters. However, Firefox allows a non-standard parameter:

options Non-standard

An object that can contain the following flags:

mozAnon

A boolean. When setting this flag to true will cause the browser not to expose the origin and user credentials when fetching resources. Most important, this means that cookies will not be sent unless explicitly added using setRequestHeader.

mozSystem

A boolean. When setting this flag to true, the same origin policy will not be enforced on the request.

Return value

A new XMLHttpRequest object. The object must be prepared by at least calling open() to initialize it before calling send() to send the request to the server.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4