Real'sHowTo AddThis Feed Button
Custom Search

Detect if cookies are enabledTag(s): Varia


<SCRIPT LANGUAGE="JAVASCRIPT">
 <!--
   var tmpcookie = new Date();
   chkcookie = (tmpcookie.getTime() + '');
   document.cookie = "chkcookie=" + chkcookie + "; path=/";
    if (document.cookie.indexOf(chkcookie,0) < 0) {
      window.location = 'nocookies.html';
      }
    else {
      window.location = 'cookies.html';
    }
 //-->
</SCRIPT>


blog comments powered by Disqus


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2014
[ home ]