Select-click-copy Enabler

Enables select, right-click, copy and drag on pages that disable them. WARNING: MAY BREAK PAGE FUNCTIONS.

יוצר
XXN
התקנות יומיות
0
סה"כ התקנות
692
דירוגים
4 0 0
גרסה
8.3
נוצר
14-05-2017
עודכן
28-05-2017
רישיון
GPL version 2 or any later version
חל על

Republished from the defunct userscripts.org (from mirror: http://userscripts-mirror.org/scripts/show/164646).
Don't let good things get lost!

Script Summary: Enables select, right-click, copy and drag on pages that disable them. WARNING: MAY BREAK PAGE FUNCTIONS.


Version: 8.2

License: GPL version 2 or any later version; http://www.gnu.org/licenses/gpl-2.0.txt

WARNING: MAY BREAK PAGE FUNCTIONS OR PREVENT OTHER USERSCRIPTS FROM RUNNING PROPERLY. USE WITH CAUTION.

Example: Try copying some text from the following page.
http://www.360doc.com/content/10/0504/07/71674_...

It is strongly recommended that users modify script-specific settings in Greasemonky/Tampermonkey to match copy-unfriendly pages only, such as http://www.360doc.com/*,

Possible Enhancements:
1. This script does not monitor left-click events. In case you need to enable intentionally disabled left-clicks, replace , 'selectstart' with , 'selectstart', 'click' in the script source code.
2. This script does not monitor mousemove events. In case you need to enable intentionally disabled select-by-mouse-move behavior (eg http://ishare.iask.sina.com.cn/f/15219423.html), replace , 'selectstart' with , 'selectstart', 'mousemove' in the script source code.
3. This script does not monitor keydown, keyup and keypress events. In case you need to enable intentionally disabled CTRL+C, CTRL+V and CTRL+A (eg http://www.radikal.com.tr/yazarlar/cuneyt_ozdem...), replace , 'selectstart' with , 'selectstart', 'keydown', 'keyup', 'keypress' in the script source code.

This script is disabled by default on https secure connection, as it is usually not a good practice to enable copy&paste in important applications such as email verification. Should you need https support badly, however, change // @include /^http\:\/\// to // @include /^https?\:\/\// in source code.