[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sandboxed-tor-browser/master] Disable the "Open with" dialog, which will never work.



commit ecfe4ec14b62e10380c8afbb09a1c744e5dbfdee
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
Date:   Mon Aug 28 18:39:31 2017 +0000

    Disable the "Open with" dialog, which will never work.
    
    The container doesn't have anything to "Open with", nor does it have
    D-Bus access.  Neither of these things will change, so the dialog can be
    suppressed.
---
 ChangeLog                  | 1 +
 data/installer/mozilla.cfg | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index dbd2e12..52fa881 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Changes in version 0.0.13 - UNRELEASED:
  * Use lockPref for the IDN override done as part of #22984.
  * Unset the addon autoupdater URL prefs.
  * Force disable `navigator.sendBeacon()`.
+ * Disable the "Open with" dialog, which will never work.
 
 Changes in version 0.0.12 - 2017-08-01:
  * Bug 22969: Disable the addon blocklist.
diff --git a/data/installer/mozilla.cfg b/data/installer/mozilla.cfg
index 9b427eb..867da7b 100644
--- a/data/installer/mozilla.cfg
+++ b/data/installer/mozilla.cfg
@@ -52,3 +52,6 @@ defaultPref("dom.securecontext.whitelist_onions", false);
 // Force disable navigator.sendBeacon() which basically only exists so that
 // people can track the fuck out of you.
 lockPref("beacon.enabled", false);
+
+// Disable the "Open with" dialog, which will never work.
+lockPref("browser.download.forbid_open_with", true);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits