Greasy Fork is available in English.

网页限制解除(改)

通殺大部分網站,可以解除禁止復制、剪切、選擇文本、右鍵菜單的限制。

< 腳本网页限制解除(改)的回應

評論:OK - script works, but has bugs

§
發表於:2023-12-19
編輯:2023-12-19

更推荐用小书签,不占用资源

新建书签,名字为“复制限制”,网址处输入

javascript:function t(e){e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation()}document.querySelectorAll('*').forEach(e=>{'none'===window.getComputedStyle(e,null).getPropertyValue('user-select')&&e.style.setProperty('user-select','text','important')}),['copy','cut','contextmenu','selectstart','mousedown','mouseup','mousemove','keydown','keypress','keyup'].forEach(function(e){document.documentElement.addEventListener(e,t,{capture:!0})}),alert('%E5%B7%B2%E8%A7%A3%E9%99%A4%E7%BD%91%E9%A1%B5%E9%99%90%E5%88%B6%EF%BC%81')();

§
發表於:2024-01-19

更推荐用小书签,不占用资源

新建书签,名字为“复制限制”,网址处输入

javascript:function t(e){e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation()}document.querySelectorAll('*').forEach(e=>{'none'===window.getComputedStyle(e,null).getPropertyValue('user-select')&&e.style.setProperty('user-select','text','important')}),['copy','cut','contextmenu','selectstart','mousedown','mouseup','mousemove','keydown','keypress','keyup'].forEach(function(e){document.documentElement.addEventListener(e,t,{capture:!0})}),alert('%E5%B7%B2%E8%A7%A3%E9%99%A4%E7%BD%91%E9%A1%B5%E9%99%90%E5%88%B6%EF%BC%81')();

这个最省事好用

發表回覆

登入以回復