From: Michael Orlitzky Date: Fri, 19 May 2023 18:36:40 +0000 (-0400) Subject: ui: prevent websites from hijacking keyboard shortcuts. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d21ccb822725bc469d452802ef74d36eee5547cf;p=firefox-user-prefs.git ui: prevent websites from hijacking keyboard shortcuts. --- diff --git a/ui b/ui index c2a1f5f..78ba578 100644 --- a/ui +++ b/ui @@ -43,3 +43,16 @@ user_pref("network.IDN_show_punycode", true); * */ 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);