Morshed Alam
Morshed Alam Software Architect

Disable right click to prevent page content

• By Morshed Alam • JavaScript
Some web developers and client want to disable the right click to prevent the theft their web content specially image. It can do by using a simple line of html code below though it can bypass in many ways.

<body oncontextmenu="return false;">

Update: I have got a best reference below:

No Right Click Script


Comments (0)

No comments yet. Be the first to share your feedback or ask a question!

Leave a Comment