summaryrefslogtreecommitdiff
path: root/www/warned.html
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-05 16:56:45 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-05 16:56:45 -0500
commit3a2f43e8d5c85a116845c360902f268fd2798ffa (patch)
tree3fb05200422ac1a544d2cd93f938b8408e21e53d /www/warned.html
parent7b49a8bed0a6c8e50adba8fc6c53c39d330bfa0c (diff)
downloadhtml5ks-3a2f43e8d5c85a116845c360902f268fd2798ffa.tar.xz
html5ks-3a2f43e8d5c85a116845c360902f268fd2798ffa.zip
add (untested) php and htaccess
Diffstat (limited to 'www/warned.html')
-rw-r--r--www/warned.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/warned.html b/www/warned.html
index 5d44d7c..99779ed 100644
--- a/www/warned.html
+++ b/www/warned.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html><head>
<script>
+document.cookie = "warned=1; Expires=Tue, 19 Jan 2038 00:00:00 GMT; HttpOnly";
localStorage.persistent = {
hdisable: location.search.indexOf("hdisable=on") > -1,
language: location.search.search("language=.*[=,]en") > -1 ? "en" : "fr"