mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-30 14:03:40 +02:00
Prevent leaking theme accent
- `widget.non-native-theme.enabled` still seems to leak theme accent on Android and GTK - Fix this by setting false `widget.non-native-theme.use-theme-accent` Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
996881aef1
commit
94dab5a2d4
1 changed files with 2 additions and 0 deletions
2
user.js
2
user.js
|
@ -920,11 +920,13 @@ user_pref("browser.startup.blankWindow", false);
|
||||||
* [SETTING] General>Language and Appearance>Fonts and Colors>Colors>Use system colors ***/
|
* [SETTING] General>Language and Appearance>Fonts and Colors>Colors>Use system colors ***/
|
||||||
user_pref("browser.display.use_system_colors", false); // [DEFAULT false NON-WINDOWS]
|
user_pref("browser.display.use_system_colors", false); // [DEFAULT false NON-WINDOWS]
|
||||||
/* 4511: enforce non-native widget theme
|
/* 4511: enforce non-native widget theme
|
||||||
|
* additionally disable use of theme accent
|
||||||
* Security: removes/reduces system API calls, e.g. win32k API [1]
|
* Security: removes/reduces system API calls, e.g. win32k API [1]
|
||||||
* Fingerprinting: provides a uniform look and feel across platforms [2]
|
* Fingerprinting: provides a uniform look and feel across platforms [2]
|
||||||
* [1] https://bugzilla.mozilla.org/1381938
|
* [1] https://bugzilla.mozilla.org/1381938
|
||||||
* [2] https://bugzilla.mozilla.org/1411425 ***/
|
* [2] https://bugzilla.mozilla.org/1411425 ***/
|
||||||
user_pref("widget.non-native-theme.enabled", true); // [DEFAULT: true]
|
user_pref("widget.non-native-theme.enabled", true); // [DEFAULT: true]
|
||||||
|
user_pref("widget.non-native-theme.use-theme-accent", false);
|
||||||
/* 4512: enforce links targeting new windows to open in a new tab instead
|
/* 4512: enforce links targeting new windows to open in a new tab instead
|
||||||
* 1=most recent window or tab, 2=new window, 3=new tab
|
* 1=most recent window or tab, 2=new window, 3=new tab
|
||||||
* Stops malicious window sizes and some screen resolution leaks.
|
* Stops malicious window sizes and some screen resolution leaks.
|
||||||
|
|
Loading…
Add table
Reference in a new issue