Navigator taintEnabled() Method
Example
Determine whether your browser has data tainting enabled:
document.write("Data tainting enabled: " + navigator.taintEnabled());
Try it Yourself »
Definition and Usage
The taintEnabled() method was removed in JavaScript version 1.2, and should be avoided to prevent run-time errors in the future.
The taintEnabled() method returns a Boolean value that specifies whether the browser has data tainting enabled.
Browser Support
The taintEnabled()
method is no longer supported in any modern browser.
Method | |||||
---|---|---|---|---|---|
taintEnabled() | Not supported | Not supported | Not supported | Not supported | Not supported |
Syntax
navigator.taintEnabled()
Parameters
None |
Technical Details
Return Value: | A Boolean, indicating whether the browser has data tainting enabled. Returns true if data tainting is supported and enabled, otherwise it returns false |
---|
❮ Navigator Object