您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
拖拽、右键菜单、F12限制
// ==UserScript== // @name 正版中国去除拖拽、右键菜单、F12限制 // @namespace 正版中国去除拖拽、右键菜单、F12限制 // @version 0.2 // @description 拖拽、右键菜单、F12限制 // @author SYXIXI // @match https://getitfree.cn/** // @grant none // ==/UserScript== (function() { document.oncontextmenu = function(){ return true; } document.ondragstart = function() { return true; }; document.oncopy = function() { return true; }; document.onkeydown = function(e) { if (e.ctrlKey && (e.keyCode === 65 || e.keyCode === 67 || e.keyCode === 73 || e.keyCode === 74 || e.keyCode === 80 || e.keyCode === 83 || e.keyCode === 85 || e.keyCode === 86 || e.keyCode === 117 )) { return true; } if(e.keyCode==18||e.keyCode==123){return true} }; })();