mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
Added invidio.sh
This commit is contained in:
@@ -36,7 +36,7 @@ async function init() {
|
|||||||
if (checkbox.checked) {
|
if (checkbox.checked) {
|
||||||
// Request permission
|
// Request permission
|
||||||
chrome.permissions.request({
|
chrome.permissions.request({
|
||||||
origins: ["https://*.invidio.us/*"],
|
origins: ["https://*.invidio.us/*", "https://*.invidiou.sh/*"],
|
||||||
permissions: ["declarativeContent"]
|
permissions: ["declarativeContent"]
|
||||||
}, function (granted) {
|
}, function (granted) {
|
||||||
if (granted) {
|
if (granted) {
|
||||||
@@ -47,6 +47,9 @@ async function init() {
|
|||||||
conditions: [
|
conditions: [
|
||||||
new chrome.declarativeContent.PageStateMatcher({
|
new chrome.declarativeContent.PageStateMatcher({
|
||||||
pageUrl: { urlMatches: "https://*.invidio.us/*" }
|
pageUrl: { urlMatches: "https://*.invidio.us/*" }
|
||||||
|
}),
|
||||||
|
new chrome.declarativeContent.PageStateMatcher({
|
||||||
|
pageUrl: { urlMatches: "https://*.invidiou.sh/*" }
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
actions: [new chrome.declarativeContent.RequestContentScript({
|
actions: [new chrome.declarativeContent.RequestContentScript({
|
||||||
|
|||||||
Reference in New Issue
Block a user