很简单,只需在<body>中添加如下代码:

<body 

  oncontextmenu='return false' 

  ondragstart='return false' 

  onselectstart='return false'

  onselect='document.selection.empty()'

  oncopy='document.selection.empty()'

  onbeforecopy='return false'

  onmouseup='document.selection.empty()'

>

相关文章:

  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-12-17
  • 2021-12-31
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2022-02-03
  • 2021-09-08
  • 2021-12-10
  • 2021-10-05
  • 2022-02-09
相关资源
相似解决方案