1
0

2403 add FF versioning

This commit is contained in:
Thorin-Oakenpants 2017-05-02 05:06:44 +12:00 committed by GitHub
parent 3a39425ab2
commit 8f0569f3fd

View File

@ -993,7 +993,7 @@ user_pref("ghacks_user.js.parrot", "2400 syntax error: the parrot's kicked the b
* the website for it to look at the clipboard * the website for it to look at the clipboard
* [1] http://www.ghacks.net/2014/01/08/block-websites-reading-modifying-clipboard-contents-firefox/ ***/ * [1] http://www.ghacks.net/2014/01/08/block-websites-reading-modifying-clipboard-contents-firefox/ ***/
user_pref("dom.event.clipboardevents.enabled", false); user_pref("dom.event.clipboardevents.enabled", false);
/* 2403: disable clipboard commands (cut/copy) from "non-privileged" content /* 2403: disable clipboard commands (cut/copy) from "non-privileged" content (FF41+)
* this disables document.execCommand("cut"/"copy") to protect your clipboard * this disables document.execCommand("cut"/"copy") to protect your clipboard
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1170911 ***/ * [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1170911 ***/
user_pref("dom.allow_cut_copy", false); // (hidden pref) user_pref("dom.allow_cut_copy", false); // (hidden pref)