1
0
mirror of https://github.com/taigrr/searchBGon synced 2025-01-18 05:03:12 -08:00

removed silly bug in for loop

This commit is contained in:
Tai Groot 2021-03-08 10:13:41 -08:00
parent 762fa0187b
commit aaec66d314
Signed by: taigrr
GPG Key ID: D00C269A87614812
2 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,8 @@ function announce_close(){
} else if(tabs[i].url.includes("duckduckgo.com/?q=")){
closeable.push(tabs[i].id)
}
chrome.tabs.remove(closeable);
}
chrome.tabs.remove(closeable);
});
}
chrome.browserAction.onClicked.addListener(function(tab){announce_close()});

View File

@ -14,7 +14,8 @@
]
},
"permissions": [
"tabs"
"tabs",
"<all_urls>"
],
"commands":{
"_execute_browser_action":{