diff --git a/popup/history.html b/popup/history.html index 164d89a..c700f9e 100644 --- a/popup/history.html +++ b/popup/history.html @@ -3,7 +3,6 @@ Widevine L3 Guessor - History -
diff --git a/popup/history.js b/popup/history.js index cb9058b..d6c83f4 100644 --- a/popup/history.js +++ b/popup/history.js @@ -7,16 +7,13 @@ function showHistory(){ } function saveHistory(){ - chrome.storage.local.get(null, ((data) => { + chrome.storage.local.get(null, (data => { let blob = new Blob([JSON.stringify(data, null, "\t")], {type: "text/plain"}); let blobLink = URL.createObjectURL(blob); let a = document.createElement('a'); a.download = 'wvgHistory.json'; a.href = blobLink - document.body.appendChild(a); a.click(); - document.body.removeChild(a); - URL.revokeObjectURL(blobLink); })); }