<html>
<body>
<p>Click the button to find out if cookies are enabled in your browser.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
var x = "Cookies enabled: " + navigator.cookieEnabled;
document.getElementById("demo").innerHTML = x;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_nav_cookieenabled by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:05:41 GMT -->
</html>