forekoy

<input name="pwd" type="password" id="pwd" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false"/>
onpaste:粘贴时触发的事件
oncontextmenu:右键弹出属性菜单
oncopy:实现拷贝,复制
oncut:剪切

分类:

技术点:

相关文章: