mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 13:37:04 +03:00
Add warning when enabling filler
This commit is contained in:
Submodule public/_locales updated: 306f1deff3...c0e6d8aaef
@@ -139,6 +139,12 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
|
|||||||
case "autoSkip":
|
case "autoSkip":
|
||||||
option = CategorySkipOption.AutoSkip;
|
option = CategorySkipOption.AutoSkip;
|
||||||
|
|
||||||
|
if (this.props.category === "filler" && !Config.config.isVip) {
|
||||||
|
if (!confirm(chrome.i18n.getMessage("FillerWarning"))) {
|
||||||
|
event.target.value = "disable";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user