added encoding for the user data as json with proper encoding/escaping

This commit is contained in:
Wyatt Johnson
2018-01-18 13:58:45 -07:00
parent c99411b8fd
commit 8f1d9f051e
6 changed files with 57 additions and 14 deletions
+4
View File
@@ -0,0 +1,4 @@
document.addEventListener('DOMContentLoaded', function(event) {
localStorage.setItem('auth', document.getElementById('auth').innerText);
setTimeout(function() { window.close(); }, 50);
});