summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-07-03 08:12:45 +0000
committerMoonchild <moonchild@palemoon.org>2022-07-03 08:12:45 +0000
commit164800800d00d8b9db04285dea0004ae614dd4e0 (patch)
treea29e2b49cff38911760cb4f5a752b92a2ce13c52
parentc4e16d8b64d1d8101fcd7d67198468329f26f513 (diff)
downloaduxp-164800800d00d8b9db04285dea0004ae614dd4e0.tar.gz
[network] Clean up and update the list of external protocol handlers.
-rw-r--r--modules/libpref/init/all.js19
1 files changed, 12 insertions, 7 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 31e71ca777..c84e3a6597 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1331,22 +1331,27 @@ 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);
+#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
#ifdef XP_MACOSX
pref("network.protocol-handler.external.help", false);
#endif
-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);
// Don't allow external protocol handlers for common typos
pref("network.protocol-handler.external.ttp", false); // http