summaryrefslogtreecommitdiff
path: root/www/warned.html
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-04-16 15:17:31 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2014-04-16 15:17:31 -0400
commite417662dce5cae2e95ef98ee38baa8f53a02b9d5 (patch)
treedce94fb8524dece7e3fcc677ec0cf908a6ec2a97 /www/warned.html
parent6a50d79523cf215001cdd55c74c040bd410775df (diff)
downloadhtml5ks-e417662dce5cae2e95ef98ee38baa8f53a02b9d5.tar.xz
html5ks-e417662dce5cae2e95ef98ee38baa8f53a02b9d5.zip
mbleh
Diffstat (limited to 'www/warned.html')
-rw-r--r--www/warned.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/www/warned.html b/www/warned.html
deleted file mode 100644
index 3cc0a91..0000000
--- a/www/warned.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<html><head><script>
-document.cookie = "warned=1; Expires=Tue, 19 Jan 2038 00:00:00 GMT; HttpOnly";
-var l = /language=[^&]*/.exec(location.search)[0].replace(/[ \t]/g, '').split(",");
-loop: for (var i = 0; i < l.length; i++) {
- switch (l[i].split(';')[0]) {
- case "en": var lang = "en"; break loop;
- case "fr": var lang = "fr"; break loop;
- }
-}
-localStorage.persistent = {
- hdisable: location.search.indexOf("hdisable=on") > -1,
- language: lang || "en"
-};
-location.replace("./");
-</script></head><body>If you're seeing this, something's gone wrong. Go back and try again, and if it still doesn't work, file a bug.</body></html>