From 3405bae6d845bec9a5909f72e1a0b5b2b9da6603 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Sat, 3 Feb 2018 03:38:06 +0000 Subject: [PATCH] added 2632: block sites overriding FF KB shortcuts Note: I tested the value of 1 when changing from 2-block to make sure that it actually changed to allow in the panel. Am keeping my eye on the delete and backspace keys and will remove the line when it is fixed --- user.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user.js b/user.js index 5cd20dd..3fcae2c 100644 --- a/user.js +++ b/user.js @@ -1299,6 +1299,10 @@ user_pref("accessibility.force_disabled", 1); * [WARNING] [SETUP] You may want to disable this for corporate or developer environments * [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1343184 ***/ user_pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false); +/* 2632: disable websites overriding Firefox's keyboard shortcuts (FF58+) + * [SETTING] to add site exceptions: Page Info>Permissions>Override Keyboard Shortcuts + * [NOTE] At the time of writing, causes issues with delete and backspace keys ***/ + // user_pref("permissions.default.shortcuts", 2); // 0 (default) or 1=allow, 2=block /* 2662: disable "open with" in download dialog (FF50+) * This is very useful to enable when the browser is sandboxed (e.g. via AppArmor) * in such a way that it is forbidden to run external applications.