mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 21:47:06 +03:00
Fix invidious enabling error
This commit is contained in:
@@ -144,7 +144,8 @@ class Utils {
|
|||||||
id: id
|
id: id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else if (chrome.declarativeContent) {
|
||||||
|
// Only if we have permission
|
||||||
chrome.declarativeContent.onPageChanged.removeRules(["invidious"]);
|
chrome.declarativeContent.onPageChanged.removeRules(["invidious"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user