2023-12-28, remove permissions for extension, update json field for tixcraft.
parent
01c776a1da
commit
ae806bcc45
|
@ -27,8 +27,8 @@ function date_clean()
|
||||||
function date_keyword(settings)
|
function date_keyword(settings)
|
||||||
{
|
{
|
||||||
let date_keyword_array = [];
|
let date_keyword_array = [];
|
||||||
if(settings.tixcraft.date_auto_select.date_keyword.length > 0) {
|
if(settings.date_auto_select.date_keyword.length > 0) {
|
||||||
date_keyword_array = JSON.parse('[' + settings.tixcraft.date_auto_select.date_keyword +']');
|
date_keyword_array = JSON.parse('[' + settings.date_auto_select.date_keyword +']');
|
||||||
}
|
}
|
||||||
//console.log(date_keyword_array);
|
//console.log(date_keyword_array);
|
||||||
let target_date;
|
let target_date;
|
||||||
|
@ -66,8 +66,8 @@ function date_keyword(settings)
|
||||||
function date_main(settings)
|
function date_main(settings)
|
||||||
{
|
{
|
||||||
myInterval = setInterval(() => {
|
myInterval = setInterval(() => {
|
||||||
//console.log("date_mode:"+ settings.tixcraft.date_auto_select.mode);
|
//console.log("date_mode:"+ settings.date_auto_select.mode);
|
||||||
//console.log("date_keyword:"+ settings.tixcraft.date_auto_select.date_keyword);
|
//console.log("date_keyword:"+ settings.date_auto_select.date_keyword);
|
||||||
date_keyword(settings);
|
date_keyword(settings);
|
||||||
}, 200);
|
}, 200);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"author": "Max Yao",
|
"author": "Max Yao",
|
||||||
"name": "MaxBot Plus",
|
"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": {
|
"icons": {
|
||||||
"16": "icons/maxbot-16.png",
|
"16": "icons/maxbot-16.png",
|
||||||
"32": "icons/maxbot-32.png",
|
"32": "icons/maxbot-32.png",
|
||||||
|
@ -24,10 +24,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"activeTab",
|
|
||||||
"storage",
|
"storage",
|
||||||
"scripting",
|
|
||||||
"tabs",
|
|
||||||
"declarativeNetRequest",
|
"declarativeNetRequest",
|
||||||
"declarativeNetRequestFeedback"
|
"declarativeNetRequestFeedback"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue