@@ -274,6 +274,7 @@ Timezone-customization.patch
|
||||
00Add-PartialLowEndModeOnMidRangeDevices-flag.patch
|
||||
00Use-list-mode-for-tab-switcher.patch
|
||||
00Chrome-web-store-protection.patch
|
||||
00Enable-search-engine-settings-desktop-ui.patch
|
||||
|
||||
00Temp-PerformanceNavigationTiming-privacy-fix.patch
|
||||
00Temp-disable-predictive-back-gesture.patch
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -789,7 +789,7 @@ new file mode 100644
|
||||
+ this.subscriptions = []
|
||||
+ this.customSubscriptions = [];
|
||||
+
|
||||
+ chrome.adblockPrivate.getBuiltInSubscriptions(list => {
|
||||
+ chrome.adblockPrivate?.getBuiltInSubscriptions(list => {
|
||||
+ chrome.adblockPrivate.getInstalledSubscriptions(activelist => {
|
||||
+ let new_subscriptions: Subscription[] = [];
|
||||
+ let custom_subscriptions: Subscription[] = [];
|
||||
@@ -842,7 +842,7 @@ new file mode 100644
|
||||
+ this.additionalMessageIcon = "";
|
||||
+ this.countEnabled = 0;
|
||||
+
|
||||
+ chrome.adblockPrivate.isEnabled(enabled => {
|
||||
+ chrome.adblockPrivate?.isEnabled(enabled => {
|
||||
+ if (!enabled) return;
|
||||
+
|
||||
+ let c = 0;
|
||||
@@ -858,13 +858,13 @@ new file mode 100644
|
||||
+ }
|
||||
+ });
|
||||
+
|
||||
+ chrome.adblockPrivate.isPrivilegedFiltersEnabled(enabled => {
|
||||
+ chrome.adblockPrivate?.isPrivilegedFiltersEnabled(enabled => {
|
||||
+ this.isEnablePrivilegedFiltersToggle_ = enabled;
|
||||
+ });
|
||||
+ }
|
||||
+
|
||||
+ private syncCustomFilters() {
|
||||
+ chrome.adblockPrivate.getCustomFilters(domain => {
|
||||
+ chrome.adblockPrivate?.getCustomFilters(domain => {
|
||||
+ this.customFilters = [];
|
||||
+ domain.forEach(value => {
|
||||
+ this.customFilters.push(value);
|
||||
@@ -875,7 +875,7 @@ new file mode 100644
|
||||
+
|
||||
+ private syncAllowedDomains() {
|
||||
+ this.allowedDomainsCount = 0;
|
||||
+ chrome.adblockPrivate.getAllowedDomains(domain => {
|
||||
+ chrome.adblockPrivate?.getAllowedDomains(domain => {
|
||||
+ this.allowedDomains = [];
|
||||
+ domain.forEach(value => {
|
||||
+ this.allowedDomains.push(value);
|
||||
|
||||
Reference in New Issue
Block a user