Disable Right Click in Blogger Blog without JavaScript

Disable Right Click

Disable the right click on Blogger Blog without using any javascript. it is a simple context menu disabling HTML that will automatically prevent user from right clicking on your blog.

1. Go to Blogger > Template > Edit HTML.

2. Press Ctrl + F and search for <body>

3. Now replace it with the below line.
<body oncontextmenu='return false;'> 
Or if you have <body expr:class='&quot;loading&quot; + data:blog.mobileClass'> replace it with below line.
<body expr:class='&quot;loading&quot; + data:blog.mobileClass' oncontextmenu='return false;'>

4. Now just save your template and refresh your blog. now you will not be able to right click on your blogger blog.

Technorati Tags: ,,