mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 07:27:05 +03:00
Fixed permissions.
This commit is contained in:
@@ -29,6 +29,7 @@ async function init() {
|
||||
|
||||
checkbox.addEventListener("click", () =>{
|
||||
setOptionValue(option, reverse ? !checkbox.checked : checkbox.checked);
|
||||
|
||||
// See if anything extra must be run
|
||||
switch (option) {
|
||||
case "supportInvidious":
|
||||
@@ -65,8 +66,8 @@ async function init() {
|
||||
]
|
||||
})]
|
||||
};
|
||||
|
||||
chrome.declarativeContent.onPageChanged.addRules([rule], console.log);
|
||||
|
||||
chrome.declarativeContent.onPageChanged.addRules([rule]);
|
||||
});
|
||||
} else {
|
||||
setOptionValue(option, false);
|
||||
|
||||
Reference in New Issue
Block a user