Skip to content

Commit ba953e5

Browse files
nodisccranisalt
authored andcommitted
[relaxed] don't set dom.event.clipboardevents.enabled and dom.allow_cut_copy to false
Fixes pyllyukko#287
1 parent 0d51f89 commit ba953e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ user_pref("dom.telephony.enabled", false);
108108
// https://developer.mozilla.org/en-US/docs/Web/API/navigator.sendBeacon
109109
user_pref("beacon.enabled", false);
110110

111-
// PREF: Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript
112-
// NOTICE: Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in JS-based web applications (Google Docs...)
111+
// PREF: Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript (disabled)
112+
// NOTICE-DISABLED: Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in JS-based web applications (Google Docs...)
113113
// https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/dom.event.clipboardevents.enabled
114-
user_pref("dom.event.clipboardevents.enabled", false);
114+
// user_pref("dom.event.clipboardevents.enabled", false);
115115

116-
// PREF: Disable "copy to clipboard" functionality via Javascript (Firefox >= 41)
116+
// PREF: Disable "copy to clipboard" functionality via Javascript (Firefox >= 41) (disabled)
117117
// NOTICE: Disabling clipboard operations will break legitimate JS-based "copy to clipboard" functionality
118118
// https://hg.mozilla.org/mozilla-central/rev/2f9f8ea4b9c3
119-
user_pref("dom.allow_cut_copy", false);
119+
// user_pref("dom.allow_cut_copy", false);
120120

121121
// PREF: Disable speech recognition
122122
// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html

0 commit comments

Comments
 (0)