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