From 462536e113841a062ebb64bef31896b960b37e65 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 5 Oct 2022 17:36:16 -0500 Subject: [System:PlatformPrefs] Update list of external protocol handlers --- system/platform-prefs.js | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/system/platform-prefs.js b/system/platform-prefs.js index 327ef332b..16ab9201c 100644 --- a/system/platform-prefs.js +++ b/system/platform-prefs.js @@ -1194,19 +1194,24 @@ pref("network.protocol-handler.external-default", true); // OK to load pref("network.protocol-handler.warn-external-default", true); // warn before load // Prevent using external protocol handlers for these schemes +pref("network.protocol-handler.external.afp", false); +pref("network.protocol-handler.external.data", false); +pref("network.protocol-handler.external.disk", false); +pref("network.protocol-handler.external.disks", false); pref("network.protocol-handler.external.hcp", false); -pref("network.protocol-handler.external.vbscript", false); pref("network.protocol-handler.external.javascript", false); -pref("network.protocol-handler.external.data", false); -pref("network.protocol-handler.external.ms-help", false); pref("network.protocol-handler.external.mk", false); +pref("network.protocol-handler.external.moz-icon", false); pref("network.protocol-handler.external.res", false); pref("network.protocol-handler.external.shell", false); +pref("network.protocol-handler.external.vbscript", false); pref("network.protocol-handler.external.vnd.ms.radio", false); -pref("network.protocol-handler.external.disk", false); -pref("network.protocol-handler.external.disks", false); -pref("network.protocol-handler.external.afp", false); -pref("network.protocol-handler.external.moz-icon", false); +#ifdef XP_WIN +pref("network.protocol-handler.external.ms-help", false); +pref("network.protocol-handler.external.ms-msdt", false); +pref("network.protocol-handler.external.search", false); +pref("network.protocol-handler.external.search-ms", false); +#endif // Don't allow external protocol handlers for common typos pref("network.protocol-handler.external.ttp", false); // http -- cgit v1.2.3