你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/29755-select-click-copy-enabler,源站連結 點此以跳轉

Select-click-copy Enabler

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



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/29755/Select-click-copy%20Enabler.user.js

安装此脚本?
作者
XXN
日安装量
1
总安装量
729
评分
5 0 0
版本
8.3
创建于
2017-05-14
更新于
2017-05-28
大小
4.7 KB
许可证
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.