From 4678441fe4496ea8da058b495e2a8a19bba48caa Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 3 Aug 2024 11:31:37 +0300 Subject: [PATCH] firefox-forbidden-policies.js: fix fonts? --- conf/firefox-forbidden-policies.js | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/conf/firefox-forbidden-policies.js b/conf/firefox-forbidden-policies.js index 3a979251..3d906ce2 100644 --- a/conf/firefox-forbidden-policies.js +++ b/conf/firefox-forbidden-policies.js @@ -20,16 +20,16 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2); // I can set my preferred fonts in an order! :O // but obviously this is forbidden in policies.json! -//lockPref("font.default.el", "serif"); -//lockPref("font.default.x-cyrillic", "serif"); -clearPref("font.default.el"); -clearPref("font.default.x-cyrillic"); -//lockPref("font.default.x-western", "serif"); -clearPref("font.default.x-western"); -// lockPref( -// "font.name-list.monospace.x-cyrillic", -// "Noto Shanns Mono, monospace", -// ); +lockPref("font.default.el", "serif"); +lockPref("font.default.x-cyrillic", "serif"); +//clearPref("font.default.el"); +//clearPref("font.default.x-cyrillic"); +lockPref("font.default.x-western", "serif"); +//clearPref("font.default.x-western"); +lockPref( + "font.name-list.monospace.x-cyrillic", + "Roboto Mono, Noto Sans Mono, monospace", +); lockPref( "font.name-list.monospace.x-western", "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"); // //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"); -clearPref("font.name.monospace.x-cyrillic", "Liberation Mono"); +clearPref("font.name.monospace.x-cyrillic"); //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"); clearPref("font.name.sans-serif.el"); //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"); -clearPref("font.name.sans-serif.x-western", "Liberation Sans"); +clearPref("font.name.sans-serif.x-western"); // //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"); -clearPref("font.name.serif.x-cyrillic", "Liberation Serif"); +clearPref("font.name.serif.x-cyrillic"); //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 lockPref( "font.system.whitelist",