Skip to content

Commit

Permalink
Merge pull request #309 from nodiscc/patch-8
Browse files Browse the repository at this point in the history
[relaxed] don't set dom.event.clipboardevents.enabled and dom.allow_cut_copy to false
  • Loading branch information
pyllyukko committed Jun 15, 2017
2 parents c47a578 + 741a8bb commit 70195de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions user.js
Expand Up @@ -101,15 +101,15 @@ user_pref("dom.telephony.enabled", false);
// https://developer.mozilla.org/en-US/docs/Web/API/navigator.sendBeacon
user_pref("beacon.enabled", false);

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

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

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

0 comments on commit 70195de

Please sign in to comment.