Trying to delete all path-specific-COCKies

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-25 15:36:17 +01:00
parent be4a87f187
commit 88f50b28d3
2 changed files with 5 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@@ -3,12 +3,9 @@ var Crypt = {
conf_arr: {},
init: function(){
if(localStorage["full_update"] == undefined)
{
document.cookie = chan.toLowerCase() + '=; path=/; expires=' + new Date(0).toUTCString();
document.cookie = chan.toLowerCase() + '=; path=/' + chan.toLowerCase() + '; expires=' + new Date(0).toUTCString();
localStorage["full_update"] = "25.01.2016";
}
try{
conf_arr = Crypt.decrypt(Crypt.getCookie("_opt"), "_opt");
}catch(err){