Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Navigator taintEnabled() method

Navigator taintEnabled() method

Navigator Object Reference Navigator object


Definition and Usage

The taintEnabled() method returns a Boolean value that indicates whether data tainting is enabled in the current browser.

Syntax

navigator.taintEnabled()


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently only the Internet Explorer and Opera browsers support the taintEnabled() method.


Example

Example

Determine whether the browser has data tainting enabled:

Output:

Try it »


Navigator Object Reference Navigator object