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:
parent
762fa0187b
commit
aaec66d314
@ -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()});
|
||||
|
@ -14,7 +14,8 @@
|
||||
]
|
||||
},
|
||||
"permissions": [
|
||||
"tabs"
|
||||
"tabs",
|
||||
"<all_urls>"
|
||||
],
|
||||
"commands":{
|
||||
"_execute_browser_action":{
|
||||
|
Loading…
x
Reference in New Issue
Block a user