mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-11-16 17:47:22 +01:00
firefox-forbidden-policies.js: adjust fonts again, reset cyrillic
I want to know when something uses serif as opposed to sans-serif, but simultaneously I want to use a readable font. Cyrillic I am not looking at enough for adjusting its font here to be reasonable
This commit is contained in:
parent
fccefa0176
commit
2615ab2abb
@ -20,41 +20,39 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2);
|
|||||||
|
|
||||||
// I can set my preferred fonts in an order! :O
|
// I can set my preferred fonts in an order! :O
|
||||||
// but obviously this is forbidden in policies.json!
|
// but obviously this is forbidden in policies.json!
|
||||||
lockPref(
|
//lockPref(
|
||||||
"font.name-list.monospace.x-cyrillic",
|
// "font.name-list.monospace.x-cyrillic",
|
||||||
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
// "Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
||||||
);
|
//);
|
||||||
lockPref(
|
lockPref(
|
||||||
"font.name-list.monospace.x-western",
|
"font.name-list.monospace.x-western",
|
||||||
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
||||||
);
|
);
|
||||||
// REMEMBER! OpenDyslexic won't work here for some reason, use the extension
|
// Forcing document fonts defeats font fingerprinting, don't worry.
|
||||||
// once it returns to Firefox! https://github.com/OpenDyslexic/extension/issues/75
|
//lockPref(
|
||||||
// TODO: Is the above correct when -FontVisibilityRestrictGenerics ?
|
// "font.name-list.sans-serif.x-cyrillic",
|
||||||
lockPref(
|
// "Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
|
||||||
"font.name-list.sans-serif.x-cyrillic",
|
//);
|
||||||
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
|
|
||||||
);
|
|
||||||
lockPref(
|
lockPref(
|
||||||
"font.name-list.sans-serif.x-western",
|
"font.name-list.sans-serif.x-western",
|
||||||
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif",
|
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
|
||||||
);
|
);
|
||||||
// lockPref(
|
//lockPref(
|
||||||
// "font.name-list.serif.x-cyrillic",
|
// "font.name-list.serif.x-cyrillic",
|
||||||
// "Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
// "OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
||||||
// );
|
|
||||||
// lockPref(
|
|
||||||
// "font.name-list.serif.x-western",
|
|
||||||
// "Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
|
||||||
// );
|
// );
|
||||||
|
lockPref(
|
||||||
|
"font.name-list.serif.x-western",
|
||||||
|
"OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
||||||
|
);
|
||||||
|
|
||||||
// Uncomment when giving up on messing up with fonts
|
// Uncomment when giving up on messing up with fonts
|
||||||
//clearPref("font.name-list.monospace.x-cyrillic");
|
clearPref("font.name-list.monospace.x-cyrillic");
|
||||||
//clearPref("font.name-list.monospace.x-western");
|
//clearPref("font.name-list.monospace.x-western");
|
||||||
//clearPref("font.name-list.sans-serif.x-cyrillic");
|
clearPref("font.name-list.sans-serif.x-cyrillic");
|
||||||
//clearPref("font.name-list.sans-serif.x-western");
|
//clearPref("font.name-list.sans-serif.x-western");
|
||||||
clearPref("font.name-list.serif.x-cyrillic");
|
clearPref("font.name-list.serif.x-cyrillic");
|
||||||
clearPref("font.name-list.serif.x-western");
|
//clearPref("font.name-list.serif.x-western");
|
||||||
|
|
||||||
// Play animated images only once, accessibility.
|
// Play animated images only once, accessibility.
|
||||||
lockPref("image.animation_mode", "once");
|
lockPref("image.animation_mode", "once");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user