兔子的嘴巴怎么形容:阻止右键的STML代码

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 04:46:26
请问谁知道:阻止右键的STML代码,谢谢!

<body oncontextmenu="window.event.returnValue=false"
onkeypress="window.event.returnValue=false"
onkeydown="window.event.returnValue=false"
onkeyup="window.event.returnValue=false"
ondragstart="window.event.returnValue=false"
onselectstart="event.returnValue=false">
上面的oncontextmenu="window.event.returnValue=false"
就是禁止右键了

下一个