<html> <body> <script language="JavaScript"> function function1() { var flag = navigator.taintEnabled(); if (flag == true) { alert("taintEnabled YES"); } else { alert("taintEnabled NO"); } } </script> <input type="button" value="Is data tainting in my browser enabled?" onClick="function1();"> </body> </html>