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