有没有兼容性强大的网页破防复制油猴脚本推荐

总是偶尔遇到一些网站网页不能复制文本的情况,刚刚发现的这个https://t2le4flvl5.feishu.cn/docx/DqM3dPoEiobSXIxeptEcRmlTnWg

最好是用过的都说好的,差点忘了说,是安卓浏览器能用的,但看现在有些就只适配PC或主流的那个几个浏览器,像via/x浏览器/Alook这些就很:sad_but_relieved_face:

https://www.runningcheese.com/enable-copy

我知道,https://www.youxiaohou.com/tool/bookmark.html#🔍-crx搜搜-任意页面搜索扩展

里面有个自由复制,把他拖进书签栏

1 个赞

再点一下添加的书签,就能复制了(不用谢)

@PandaFiredoge @wangjb 对了,还有某些复制会带后缀信息比如发帖网站/作者的,这种又怎么破?某乎就是这样,只要复制比较长的文本就……

复制完手动删除,或者用个剪贴板软件配置一下规则

javascript:document.write(document.body.innerHTML);

暴力破解法

1 个赞

@wangjb @xiaokonglong

javascript:(function(){function e(e){e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation()}document.querySelectorAll('*').forEach(function(t){'none'===window.getComputedStyle(t,null).getPropertyValue('user-select')&&t.style.setProperty('user-select','text','important')}),['copy','cut','paste','contextmenu','selectstart','mousedown','mouseup','mousemove','keydown','keypress','keyup'].forEach(function(t){document.documentElement.addEventListener(t,e,{capture:!0})})})();var tempAlert=document.createElement('div');tempAlert.textContent='%E5%B7%B2%E8%A7%A3%E9%99%A4%E7%BD%91%E9%A1%B5%E9%99%90%E5%88%B6%EF%BC%81';var alertStyles={'min-width':'150px','margin-left':'-75px','background-color':'#3B7CF1','color':'white','text-align':'center','border-radius':'4px','padding':'%2014px','position':'fixed','z-index':'9999999','left':'50%25','top':'30px','font-size':'16px','font-family':'sans-serif'};for(var%20style%20in%20alertStyles){tempAlert.style.setProperty(style,alertStyles[style]);}document.body.appendChild(tempAlert);setTimeout(function%20(){document.body.removeChild(tempAlert);},1000);void(0);

这是完整代码?复制粘贴就能用?

我是用的这个 复制限制解除(本地版) 不过现在其实很少能用到了

Absolute Enable Right Click & Copy
firefox Absolute Enable Right Click & Copy – Get this Extension for 🦊 Firefox (en-US)
chrome 因为v2协议的问题,目前没法用了 :sweat_smile: 但可以找个类似的

我一般短的文本,都是直接pixpin截图然后文本识别了…

搜索酱扩展版可以,复制时也不会有小尾巴。如果有右键限制,搜索酱自带规则有一个小书签可以解除限制

这是js脚本,但好用

窝就是要找via/x/alook能用的油猴(js)脚本啊,奈何楼上推荐的貌似都这些软件不支持的插件类型的,:cry:

所以你真正的需求是一个支持油猴脚本的安卓浏览器?

有没有能复制哔哩哔哩评论区的扩展或者脚本推荐呢?

刚刚发现的GitHub - lemonmindyes/bilibili_comment_crawl: 爬取bilibili视频下的评论,最新出品!!!⚠本代码只适用于学习,做其他事情概不负责!!!

1 个赞

@PandaFiredoge@xiaokonglong@wangjb@dingzz3@Hoothin@xiaozhubin@skystar

刚刚发现这个https://t2le4flvl5.feishu.cn/docx/DqM3dPoEiobSXIxeptEcRmlTnWg alook/x/via浏览器本身不能复制,还没测试脚本,你们推荐的可以试一下