summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-08 08:47:45 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-08 08:47:45 +0200
commit6efff99edbbfccab2f147edc806c490f6248d5b0 (patch)
tree404d2b1036c69ebb07dced09a71101465e695bf6 /modules/libpref/init
parent8a63a2f4175112d96a49a9ad5882839da254b747 (diff)
downloadUXP-6efff99edbbfccab2f147edc806c490f6248d5b0.tar
UXP-6efff99edbbfccab2f147edc806c490f6248d5b0.tar.gz
UXP-6efff99edbbfccab2f147edc806c490f6248d5b0.tar.lz
UXP-6efff99edbbfccab2f147edc806c490f6248d5b0.tar.xz
UXP-6efff99edbbfccab2f147edc806c490f6248d5b0.zip
Expose browser.download.lastDir.savePerSite
Resolves #823 (alternative suggestion)
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index c23373ad8..973edf6a5 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -117,6 +117,9 @@ pref("browser.cache.compression_level", 0);
// Don't show "Open with" option on download dialog if true.
pref("browser.download.forbid_open_with", false);
+// Save download locations as a content preference
+pref("browser.download.lastDir.savePerSite", true);
+
#ifdef XP_WIN
// Save internet zone information on downloaded files:
// 0 => Never