user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 728c962684db82b9dcace81aa6c1e4901caf65d2
parent ca99add0067c5644bf280a00ca26e2aaea1621f3
Author: Thorin-Oakenpants <Thorin-Oakenpants@users.noreply.github.com>
Date:   Sun,  4 Apr 2021 12:01:49 +0000

2402: potential clipboard leak fixed in FF89+

Thanks @gwarser for testing, creating the bugzilla, being patient, and confirming the fix
Diffstat:
Muser.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/user.js b/user.js @@ -1023,8 +1023,8 @@ user_pref("_user.js.parrot", "2400 syntax error: the parrot's kicked the bucket! /* 2402: disable website access to clipboard events/content [SETUP-HARDEN] * [NOTE] This will break some sites' functionality e.g. Outlook, Twitter, Facebook, Wordpress * This applies to onCut/onCopy/onPaste events - i.e. it requires interaction with the website - * [WARNING] If both 'middlemouse.paste' and 'general.autoScroll' are true (at least one - * is default false) then enabling this pref can leak clipboard content [1] + * [WARNING] In FF88 or lower, with clipboardevents enabled, if both 'middlemouse.paste' and + * 'general.autoScroll' are true (at least one is default false) then the clipboard can leak [1] * [1] https://bugzilla.mozilla.org/1528289 ***/ // user_pref("dom.event.clipboardevents.enabled", false); /* 2404: disable clipboard commands (cut/copy) from "non-privileged" content [FF41+]