3

CSDN 的登陆复制又搞出新花样了额

 1 year ago
source link: https://www.v2ex.com/t/947362
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 的登陆复制又搞出新花样了额

  wanmyj · 13 小时 42 分钟前 · 3380 次点击

没使用过油猴,之前一直用一行 js 脚本去复制代码,

document.body.contentEditable='true'

结果今天找了一段代码准备剽窃参考一下,结果发现在复制事件会触发弹出登录框操作,从而打断复制

吐个槽,反正倔脾气上来了,我就不注册你 csdn ,还要复制 csdn 的代码

防杠:csdn 上有很多具有中国特色的问题的解决方案,找起来还算方便,解决问题效率也较高。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK