解除网页禁止右键复制粘贴脚本

javascript:(function(){var doc=document;
var bd=doc.body;
bd.onselectstart=bd.oncopy=bd.onpaste=bd.onkeydown=bd.oncontextmenu=bd.onmousemove=bd.onselectstart=bd.ondragstart=doc.onselectstart=doc.oncopy=doc.onpaste=doc.onkeydown=doc.oncontextmenu=null;
doc.onselectstart=doc.oncontextmenu=doc.onmousedown=doc.onkeydown=function(){return true};
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;with(elmOne.wrappedJSObject||elmOne)
{onmouseup=null;onmousedown=null}}
alert(unescape('%u5DF2%u4E3A%u4F60%u89E3%u9669%u7F51%u9875%u53F3%u952E%u9650%u5236'));
bd.style.webkitUserSelect='auto!important';
bd.style.MozUserSelect='text!important';})()

直接保存书签即可
解除网页禁止右键复制粘贴脚本_第1张图片
解除网页禁止右键复制粘贴脚本_第2张图片
在需要解除复制粘贴的网页点击禁止复制粘贴书签即可

或者

javascript:(function(){var doc=document;var bd=doc.body;bd.onselectstart=bd.oncopy=bd.onpaste=bd.onkeydown=bd.oncontextmenu=bd.onmousemove=bd.onselectstart=bd.ondragstart=doc.onselectstart=doc.oncopy=doc.onpaste=doc.onkeydown=doc.oncontextmenu=null;doc.onselectstart=doc.oncontextmenu=doc.onmousedown=doc.onkeydown=function(){return true};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;with(elmOne.wrappedJSObject||elmOne){onmouseup=null;onmousedown=null}}alert(unescape('%u5DF2%u4E3A%u4F60%u89E3%u9669%u7F51%u9875%u53F3%u952E%u9650%u5236'));bd.style.webkitUserSelect='auto!important';bd.style.MozUserSelect='text!important';})()

你可能感兴趣的:(解除网页禁止右键复制粘贴脚本)