X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=ui;h=5a33a5e1fea87297aeb6e91e7d90ee9f20b99796;hb=99a64b748cfce0247d79aa8c10321a65375b9e82;hp=d5dd753b28b48c3fa9ff0f5b765a213432557ab8;hpb=7caf7f06fbdbb78acca16bbccef911d6bbd3f044;p=firefox-user-prefs.git diff --git a/ui b/ui index d5dd753..5a33a5e 100644 --- a/ui +++ b/ui @@ -30,3 +30,47 @@ 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); + + +/* Disallow hotkey hijacking by default. + * + * When I hit Ctrl-K or Ctrl-L, I want that to be sent to the browser + * and not to (for example) Github. + * + * References: + * + * 1. https://support.mozilla.org/en-US/questions/1241294 + * + */ +user_pref("permissions.default.shortcuts", 2); + + +/* Open all popups in a tab with the full user interface. + * + * Many javascript "links" open a popup window with a crippled user + * interface. This is a security risk, and infuriating. It used to be + * possible to override the website's preference, but Mozilla removed + * that ability. Instead we have to force these links to open in a new + * tab within the existing window, which already has a non-cripped + * user interface. + * + * References: + * + * 1. https://support.mozilla.org/en-US/questions/1290971 + * 2. https://kb.mozillazine.org/Browser.link.open_newwindow.restriction + * + */ +user_pref("browser.link.open_newwindow.restriction", 0);