您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
自己用的清除禁止复制禁止拖曳
// ==UserScript== // @name Young版 清除禁止复制禁止拖曳 // @description 自己用的清除禁止复制禁止拖曳 // @include http://mo.nightlife141.com/* // @version 1.0 // @author Youngcc // @grant none // @namespace http://greasyfork.icu/users/8717 // ==/UserScript== function restore(){ with (document.wrappedJSObject || document) { onmouseup = null; onmousedown = null; oncontextmenu = null; } var arAllElements = document.getElementsByTagName('*'); for (var i = arAllElements.length - 1; i >= 0; i--) { var elmOne = arAllElements[i]; with (elmOne.wrappedJSObject || elmOne) { onmouseup = null; onmousedown = null; } } } window.addEventListener('load',restore,true); function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle("html, * {-moz-user-select:text!important;}");