fine grained blocking settings

This commit is contained in:
Fabian Freund
2026-06-30 07:51:11 +02:00
parent 9c2c8d4ba6
commit e6f7ccc71c
13 changed files with 221 additions and 74 deletions
@@ -1091,6 +1091,10 @@ class GeckoEngineSettings {
final String? fingerprintingProtectionOverrides;
final List<String>? locales;
/// Use GeckoView's content-blocking database for tracking protection.
/// This is applied when the engine is created and requires app restart.
final bool? useContentBlockingDatabase;
// Custom Tracking Protection Settings
/// Master toggle for cookie blocking in Custom mode
final bool? blockCookies;
@@ -1126,6 +1130,9 @@ class GeckoEngineSettings {
/// Allow convenience tracking protection exceptions (fixes minor issues)
final bool? allowListConvenience;
/// Block advertising, analytics, social, and Mozilla social trackers
final bool? blockAdsAnalyticsSocialTrackers;
// Web Content Settings
final bool? webFontsEnabled;
final bool? automaticFontSizeAdjustment;
@@ -1164,6 +1171,7 @@ class GeckoEngineSettings {
this.dohSettings,
this.fingerprintingProtectionOverrides,
this.locales,
this.useContentBlockingDatabase,
this.blockCookies,
this.customCookiePolicy,
this.blockTrackingContent,
@@ -1175,6 +1183,7 @@ class GeckoEngineSettings {
this.suspectedFingerprintersScope,
this.allowListBaseline,
this.allowListConvenience,
this.blockAdsAnalyticsSocialTrackers,
this.webFontsEnabled,
this.automaticFontSizeAdjustment,
this.fontSizeFactor,