wangzong

ondragstart=\'return false\'           禁止鼠标在网页中拖动 
onselectstart =\'return false\'           取消选取
onselect=\'document.selection.empty()\'      选择的值为空
oncopy=\'document.selection.empty()\'      拷贝到的是空的
onbeforecopy=\'return false\'          在复制内容前禁止
onmouseup=\'document.selection.empty()\'  鼠标弹起文档选择值为空

oncut="return false              禁止剪切

oncontextmenu=\'return false\'         屏蔽右键菜单

 

分类:

技术点:

相关文章:

  • 2021-12-31
  • 2021-12-25
  • 2021-08-04
  • 2022-12-23
  • 2021-12-31
  • 2021-12-31
  • 2021-05-29
猜你喜欢
  • 2021-12-31
  • 2021-12-31
  • 2021-12-31
  • 2021-12-31
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案