2023-12-28, remove permissions for extension, update json field for tixcraft.

master
unknown 2024-01-08 10:46:28 +08:00
parent 01c776a1da
commit ae806bcc45
2 changed files with 5 additions and 8 deletions

View File

@ -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);
}

View File

@ -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"
],