diff --git a/webdriver/Maxbotplus_1.0.0/js/tixcraft_game.js b/webdriver/Maxbotplus_1.0.0/js/tixcraft_game.js index 409ae81..ce01227 100644 --- a/webdriver/Maxbotplus_1.0.0/js/tixcraft_game.js +++ b/webdriver/Maxbotplus_1.0.0/js/tixcraft_game.js @@ -27,8 +27,8 @@ function date_clean() function date_keyword(settings) { let date_keyword_array = []; - if(settings.tixcraft.date_auto_select.date_keyword.length > 0) { - date_keyword_array = JSON.parse('[' + settings.tixcraft.date_auto_select.date_keyword +']'); + if(settings.date_auto_select.date_keyword.length > 0) { + date_keyword_array = JSON.parse('[' + settings.date_auto_select.date_keyword +']'); } //console.log(date_keyword_array); let target_date; @@ -66,8 +66,8 @@ function date_keyword(settings) function date_main(settings) { myInterval = setInterval(() => { - //console.log("date_mode:"+ settings.tixcraft.date_auto_select.mode); - //console.log("date_keyword:"+ settings.tixcraft.date_auto_select.date_keyword); + //console.log("date_mode:"+ settings.date_auto_select.mode); + //console.log("date_keyword:"+ settings.date_auto_select.date_keyword); date_keyword(settings); }, 200); } diff --git a/webdriver/Maxbotplus_1.0.0/manifest.json b/webdriver/Maxbotplus_1.0.0/manifest.json index e577a30..7d1797e 100644 --- a/webdriver/Maxbotplus_1.0.0/manifest.json +++ b/webdriver/Maxbotplus_1.0.0/manifest.json @@ -1,7 +1,7 @@ { "author": "Max Yao", "name": "MaxBot Plus", - "description": "Quick way to get your expected ticket on some target sites.", + "description": "Quick way to get expected tickets on some specific websites.", "icons": { "16": "icons/maxbot-16.png", "32": "icons/maxbot-32.png", @@ -24,10 +24,7 @@ ] }, "permissions": [ - "activeTab", "storage", - "scripting", - "tabs", "declarativeNetRequest", "declarativeNetRequestFeedback" ],