Mega Code Archive

 
Categories / JavaScript Tutorial / Navigator
 

Navigator taintEnabled()

The taintEnabled() specifies whether data tainting is enabled. <html>     <head>     <title> Example of the taintEnabled method of the navigator object</title>     </head>     <body>     <script language="JavaScript">     <!--     if(navigator.taintEnabled()){          document.write("Data tainting is enabled");     } else{          document.write("There is no data tainting");     }     -->     </script>     </body>     </html>