From 1ebbb0d63bcb3102152edbce3a44cf27c1053e01 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 26 Sep 2022 14:37:45 -0400 Subject: [PATCH] ui: disable auto-save of opened files to $HOME. --- ui | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ui b/ui index d5dd753..c2a1f5f 100644 --- a/ui +++ b/ui @@ -30,3 +30,16 @@ user_pref("browser.urlbar.trimURLs", false); */ user_pref("network.IDN_show_punycode", true); + +/* Don't save files that I "Open with..." to my home directory. + * + * This breaks twenty-year-old cross-browser expectations, and is a + * privacy issue for users who have opted not to "Save file" and + * expect it not to save the goddamn file. + * + * References: + * + * 1. https://superuser.com/questions/1698026/firefox-temporary-downloads-save-location + * + */ +user_pref("browser.download.start_downloads_in_tmp_dir", true); -- 2.44.2