firefox-forbidden-policies.js: fix fonts?

This commit is contained in:
Aminda Suomalainen 2024-08-03 11:31:37 +03:00
parent 9bca567950
commit 4678441fe4
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -20,16 +20,16 @@ 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("font.default.el", "serif"); lockPref("font.default.el", "serif");
//lockPref("font.default.x-cyrillic", "serif"); lockPref("font.default.x-cyrillic", "serif");
clearPref("font.default.el"); //clearPref("font.default.el");
clearPref("font.default.x-cyrillic"); //clearPref("font.default.x-cyrillic");
//lockPref("font.default.x-western", "serif"); lockPref("font.default.x-western", "serif");
clearPref("font.default.x-western"); //clearPref("font.default.x-western");
// lockPref( lockPref(
// "font.name-list.monospace.x-cyrillic", "font.name-list.monospace.x-cyrillic",
// "Noto Shanns Mono, monospace", "Roboto Mono, Noto Sans Mono, monospace",
// ); );
lockPref( lockPref(
"font.name-list.monospace.x-western", "font.name-list.monospace.x-western",
"Roboto Mono, Noto Sans Mono, monospace", "Roboto Mono, Noto Sans Mono, monospace",
@ -55,25 +55,25 @@ lockPref("font.name-list.serif.x-western", "Roboto Serif, Noto Serif, serif");
//clearPref("font.name-list.serif.x-western"); //clearPref("font.name-list.serif.x-western");
// //
//lockPref("font.name.monospace.el", "Liberation Mono"); //lockPref("font.name.monospace.el", "Liberation Mono");
clearPref("font.name.monospace.el", "Liberation Mono"); clearPref("font.name.monospace.el");
//lockPref("font.name.monospace.x-cyrillic", "Liberation Mono"); //lockPref("font.name.monospace.x-cyrillic", "Liberation Mono");
clearPref("font.name.monospace.x-cyrillic", "Liberation Mono"); clearPref("font.name.monospace.x-cyrillic");
//lockPref("font.name.monospace.x-western", "Liberation Mono"); //lockPref("font.name.monospace.x-western", "Liberation Mono");
clearPref("font.name.monospace.x-western", "Liberation Mono"); clearPref("font.name.monospace.x-western");
// //
//lockPref("font.name.sans-serif.el", "Liberation Sans"); //lockPref("font.name.sans-serif.el", "Liberation Sans");
clearPref("font.name.sans-serif.el"); clearPref("font.name.sans-serif.el");
//lockPref("font.name.sans-serif.x-cyrillic", "Liberation Sans"); //lockPref("font.name.sans-serif.x-cyrillic", "Liberation Sans");
clearPref("font.name.sans-serif.x-cyrillic", "Liberation Sans"); clearPref("font.name.sans-serif.x-cyrillic");
//lockPref("font.name.sans-serif.x-western", "Liberation Sans"); //lockPref("font.name.sans-serif.x-western", "Liberation Sans");
clearPref("font.name.sans-serif.x-western", "Liberation Sans"); clearPref("font.name.sans-serif.x-western");
// //
//lockPref("font.name.serif.el", "Liberation Serif"); //lockPref("font.name.serif.el", "Liberation Serif");
clearPref("font.name.serif.el", "Liberation Serif"); clearPref("font.name.serif.el");
//lockPref("font.name.serif.x-cyrillic", "Liberation Serif"); //lockPref("font.name.serif.x-cyrillic", "Liberation Serif");
clearPref("font.name.serif.x-cyrillic", "Liberation Serif"); clearPref("font.name.serif.x-cyrillic");
//lockPref("font.name.serif.x-western", "Liberation Serif"); //lockPref("font.name.serif.x-western", "Liberation Serif");
clearPref("font.name.serif.x-western", "Liberation Serif"); clearPref("font.name.serif.x-western");
// Allow these fonts regardless of the fingerprinting resistance // Allow these fonts regardless of the fingerprinting resistance
lockPref( lockPref(
"font.system.whitelist", "font.system.whitelist",