Disable Mouse Right Click on Selected Div Section | How To

Disable Right Click on DIV Section

If you want a div tag to be placed in the page of your website and no matter can be copied in the same div tag, then it can happen.

How to do –

>> First of all, you should open the theme of your website in HTML mode.
>> Now paste the code below anywhere in <body> … </body>.

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js'/>
$('.disableclick').bind('contextmenu', function(e) {
return false;

>> Now save the theme.
>> Now to turn off right click option inside the div tag that you want, paste the class = “disableclick” in that div tag.

Example - <div class = "disableclick"> something is a mater </div>

>> By doing this you can disable right click option.

if You want to Turn off Right click to full website – click here