Disabling Right click [Resolved]

Posted by Prabhukiran345 under JavaScript on 1/29/2014 | Points: 10 | Views : 2240 | Status : [Member] | Replies : 1
Is it possible to disable right click of my web page?? If "YES" , then how to achieve it?

Thanks,
Prabhu Kiran B

Thanks,
Prabhu Kiran Bommareddy



Responses

Posted by: kgovindarao523-21772 on: 1/29/2014 [Member] [MVP] Bronze | Points: 50

Up
0
Down

Resolved
Hi,

Yes, We can.
replace your html tag with:

<html oncontextmenu="javascript:alert('Right click menu is disabled for Security Purpose.');return false;">


Thank you,
Govind

Prabhukiran345, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response