fix(closetab): 1.fix close tab. 2.waittime default = 6000

This commit is contained in:
eson
2020-11-25 12:23:46 +08:00
parent 7b5c3717ba
commit 899f554336
4 changed files with 36 additions and 6 deletions

View File

@@ -3,6 +3,10 @@ if(href.startsWith(Host)) {
setInterval(function(){
GetTask();
}, 1);
} else {
setTimeout(function(){
close();
}, 15000)
}
function GetTask() {