Updated Windows agents.

This commit is contained in:
Ylian Saint-Hilaire
2022-02-22 00:21:39 -08:00
parent 6a62a0628e
commit 5f1b462af0
10 changed files with 14 additions and 15 deletions

View File

@@ -1333,7 +1333,7 @@
var webState = '{{{webstate}}}';
if (webState != '') { webState = JSON.parse(decodeURIComponent(webState)); }
if ((webState == null) || (typeof webState != 'object')) { webState = {}; }
for (var i in webState) { if (i != 'desktopsettings') { localStorage.setItem(i, webState[i]); } }
for (var i in webState) { if (i != 'desktopsettings') { try { localStorage.setItem(i, webState[i]); } catch (ex) {} } }
if (!webState.loctag) { try { delete localStorage.removeItem('loctag'); } catch (ex) { } }
var args, urlargs;