mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
parent
2ac1ec277d
commit
e0e6926a74
3 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
logging.message("Opened browser action");
|
||||
|
||||
|
||||
browser.tabs.query({active: true}).then(async function([currentTab]){
|
||||
browser.tabs.query({active: true, currentWindow: true}).then(async function([currentTab]){
|
||||
function isWhitelisted(url){
|
||||
if (!(url instanceof URL)){
|
||||
url = new URL(url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue