cookie_single.html 317 B

1234567891011121314151617
  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3. <head>
  4. <script type="text/javascript">
  5. function setCookie()
  6. {
  7. var date = new Date();
  8. date.setDate(new Date().getDate() + 36);
  9. document.cookie = "litmus_1=true;expires=" + date.toGMTString();
  10. }
  11. </script>
  12. </head>
  13. <body onload="setCookie()">
  14. </body>
  15. </html>