破解网页右键限制。解决右键不能弹出,网页不能复制的问题。

一、使用浏览器收藏夹小工具,可破解右键不能弹出的限制。

将下面的代码添加为一个浏览器书签,在需要破解的网页上点击此书签,即可破解右键限制。适合绝大部分网站。

代码内容如下

javascript:(function(){var%20doc=document;var%20bd=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%20(){return%20true;};with(document.wrappedJSObject||document){onmouseup=null;onmousedown=null;oncontextmenu=null;}var%20arAllElements=document.getElementsByTagName('*');for(var%20i=arAllElements.length-1;i>=0;i--){var%20elmOne=arAllElements[i];with(elmOne.wrappedJSObject||elmOne){onmouseup=null;onmousedown=null;}}var%20head=document.getElementsByTagName('head')[0];if(head){var%20style=document.createElement('style');style.type='text/css';style.innerHTML="html,*{-moz-user-select:auto!important;}";head.appendChild(style);}void(0);})();

二、任意编辑网页内容的办法。

操作办法同上,代码如下:

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

如自己不会操作,可联系我远程操作  tb.wangyq.com 

你可能感兴趣的:(破解网页右键限制。解决右键不能弹出,网页不能复制的问题。)