再次尝试,还是失败

This commit is contained in:
free will
2020-10-09 20:26:55 +08:00
parent 16252680ae
commit 4df1bb0b0c
+6
View File
@@ -152,6 +152,11 @@ function refreshActiveTab () {
var tabIndex = tabs[0].index;
chrome.tabs.query({}, function(tabs) {
chrome.tabs.reload(tabs[tabIndex].id);
// var o;
// o.url="https://www.csdn.net/";
// chrome.tabs.create(o,function () {
// console.log("test");
// });
})
});
console.log("refresh########");
@@ -194,6 +199,7 @@ function express(prefixUri) {
/* save */
save({"storage": storage});
load("storage", reload);
// setTimeout(refreshActiveTab(),2000);
}else{
// mis没有该前缀对应的映射
}