August 1999
Intermediate to advanced
1488 pages
72h 53m
English
navigator.taintEnabled()
The taintEnabled() method of the navigator specifies whether data tainting is enabled.
Note
This method is removed in Navigator 4 and later releases.
Listing 7.406 shows an example of how the taintEnabled() method is used.
<html>
<head>
<title> Example of the taintEnabled method of the navigator object</title>
</head>
<body>
<script language="JavaScript">
<!--Hide
// determine if tainting is enabled in the browser
if(navigator.taintEnabled()){
document.write("Data tainting is enabled");
}
else{
document.write("There is no data tainting");
}
// End Hide --->
</script>
</body>
</html> ... |
Read now
Unlock full access