19

csdn 这个登录后复制有插件处理吗?

 3 years ago
source link: https://www.v2ex.com/t/797021
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

csdn 这个登录后复制有插件处理吗?

  AoEiuV020 · AoEiuV020 · 2 天前 · 1480 次点击
我有装个叫“Enable Copy“的拓展,但好像对 csdn 无效了,就搞不懂 csdn 对自己的用户群体有没点了解,这种纯恶心人的功能拿来做什么,
17 条回复    2021-08-21 12:53:41 +08:00

nannanziyu   2 天前

它只是把 <code></code> 标签的 userSelect 设成 none 了,改成 text 就能复制了
临时方法:在开发者控制台里 run 一下
`$("code").each((idx)=>$("code")[idx].style.userSelect='text')`

找个 stylus 之类的 style 自定义插件,把 code 的 userSelect 改成 text


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK