diff options
author | aszlig <aszlig@nix.build> | 2024-04-12 13:52:12 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2024-04-12 14:01:15 +0200 |
commit | 81cd4f021681fd422b32f3bbd9ec77fc72fec355 (patch) | |
tree | 77a20bf96bb19968347adf10140c2018897de09a /pkgs/aszlig/firefox | |
parent | fcbf9f3dd163197d4b497fcf450c85fc1313e077 (diff) |
firefox: Do not download PDF attachments
This is a behaviour that has been introduced at some point and it's been annoying to have all those PDFs laying around in my Downloads directory. If I still want to save the PDF, I can do so explicitly so I see no downside to always open PDF attachments inline (without saving). Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig/firefox')
-rw-r--r-- | pkgs/aszlig/firefox/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/aszlig/firefox/default.nix b/pkgs/aszlig/firefox/default.nix index 5ab581cb..f6227866 100644 --- a/pkgs/aszlig/firefox/default.nix +++ b/pkgs/aszlig/firefox/default.nix @@ -71,6 +71,7 @@ in wrapFirefox firefoxNoSigning { lockPref('browser.aboutConfig.showWarning', false); lockPref('browser.aboutwelcome.enabled', false); lockPref('browser.contentblocking.category', 'strict'); + lockPref('browser.download.open_pdf_attachments_inline', true); lockPref('browser.laterrun.enabled', false); lockPref('browser.newtab.extensionControlled', true); lockPref('browser.newtab.privateAllowed', false); |