开发者

disable right click on webpage [duplicate]

This question already has answers here: Closed开发者_如何学Go 11 years ago.

Possible Duplicate:

How do I disable right click on my web page .

is it possible to disable the right click on webpage's control like textbox, link etc. using Javascript.


Just add

<body oncontextmenu="return false;">


Now you can prevent right click on control of webpage
Through this you can only stop novice users not experienced or expert users.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜