HTML DOM taintEnabled() Method
Complete Navigator Object Reference
Definition and Usage
The taintEnabled() method returns a Boolean value that specifies whether the browser has
data tainting
enabled.
Syntax
Example
The following example returns whether the browser has data tainting enabled:
<html>
<body>
<script type="text/javascript">
alert(navigator.taintEnabled())
</script>
</body>
</html>
|
Output:
Try-It-Yourself Demos
Use the
taintEnabled() method of the navigator object
Complete Navigator Object Reference
…
|