NavigatorID.taintEnabled()

Not available to workers.
Although the interface of this feature is available to workers, this feature isn't.

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

The NavigatorID.taintEnabled() method always returns false.

Note: Tainting was a security method used by JavaScript 1.2. It has long been removed; this method only stays for maintaining compatibility with very old scripts.

SyntaxEdit

result = window.navigator.taintEnabled()

ExampleEdit

alert(window.navigator.taintEnabled()); 
// returns false

SpecificationsEdit

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'NavigatorID.taintEnabled' in that specification.
Living Standard Initial definition

Browser compatibilityEdit

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)
on Web Workers ? 28 (28) ? ? ?

See alsoEdit

Document Tags and Contributors

 Contributors to this page: teoli, Broetchen1234, chrisdavidmills
 Last updated by: teoli,