restrict listener to youtube URLs

This commit is contained in:
setop 2025-03-18 15:05:25 +01:00
parent 3eab15c7b1
commit e5097d820a

View File

@ -14,7 +14,8 @@ browser.webRequest.onBeforeRequest.addListener(
}
}
},
{ urls: ["<all_urls>"] },
{ urls: [ "*://www.youtube.com/*",
"*://youtube.com/*"] },
["blocking"]
);