From 3cf40188a9bff2ccfe899c17fddcf00680850d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Sat, 29 Feb 2020 03:19:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=AF=E8=83=BD=E7=9A=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script.js b/script.js index 05fe69fb..4f84cc46 100644 --- a/script.js +++ b/script.js @@ -424,6 +424,8 @@ window.onload = function() dealCardsData(value); }).catch(function(err) { // This code runs if there were any errors + alert("Local Database error. Please refresh."); + GM_deleteValue("PADDF-ckey"); console.log(err); }); }else @@ -480,6 +482,8 @@ window.onload = function() dealSkillData(value); }).catch(function(err) { // This code runs if there were any errors + alert("Local Database error. Please refresh."); + GM_deleteValue("PADDF-ckey"); console.log(err); }); }else