进入开发者工具点击控制台, 输入一下内容
document.onkeydown = function () { if (window.event && window.event.keyCode == 123) { event.keyCode = 0; event.returnValue = true; return true; }};
如果网站没有禁用F12键, 直接按F12或者在网页右键点击检查->console进入控制台
检查
console
document.oncontextmenu = function(){ return true; };
document.onselectstart = function(){ return true; };
document.oncopy = function(){ return true; };
document.oncut = function(){ return true; };
document.onpaste = function(){ return true; };
基本解决网页限制, 可以自由的复制文字, 转载文章啦~, BUT, 一定要 尊重原创!尊重原创!尊重原创, 转载记得标明出处!