监听网页的复制事件,并阻止复制行为
摘要:监听copy事件,并调用事件e的preventDefault()函数即可达到要求。具体代码如下: <script> document.addEventListener("copy",(e)=>{ e.preventDefault(); e.clipboardData.setData("text/pl
阅读全文
posted @ 2025-02-06 15:04
posted @ 2025-02-06 15:04
posted @ 2020-07-14 21:22
posted @ 2015-11-21 10:00
Powered by:
博客园
Copyright © 2025 咚..咚
Powered by .NET 9.0 on Kubernetes
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
26 | 27 | 28 | 29 | 30 | 31 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
好
Unable to load config info from E:/openssl/ssl/openssl.cnf
大神,请问这个路径在哪个文件中修改?