Well as you all know that right click is usually disabled in blogger by using a bit of JavaScript codes in your <body> section just to protect right click on your blogs and to protect your contents from being copied, as JavaScript is useful in many blogger templates but as you all know that JavaScript use to decrease the load
time of a blog/website/webpage. So, I have come up with a new technique of using simple coding in your blogger templates and disable the right click to protect your contents. It’s a very easy trick to follow hope the tutorial I am going to write below will be useful to you, have a look.
Now this code’s positive things are that it does not take any extra time to load plus its small and easy to be installed and cracking this code is little bit difficult.
Follow the Steps listed below:
time of a blog/website/webpage. So, I have come up with a new technique of using simple coding in your blogger templates and disable the right click to protect your contents. It’s a very easy trick to follow hope the tutorial I am going to write below will be useful to you, have a look.
Now this code’s positive things are that it does not take any extra time to load plus its small and easy to be installed and cracking this code is little bit difficult.
Follow the Steps listed below:
- Go to Blogger > Template > Edit HTML.
- Press Ctrl + F and search for
<body>
or
<body expr:class='"loading" + data:blog.mobileClass'>
- Now if you have <body> tag just replace it with the below line.
<body oncontextmenu='return false;'>
- Or if you have <body expr:class='"loading" + data:blog.mobileClass'> replace it with below line.
<body expr:class='"loading" + data:blog.mobileClass' oncontextmenu='return false;'>
- Now just save your template and refresh your blog to see if this stuff is working or not, now you will not be able to right click on your blogger blog.
So, if you face any problem or have any query then feel free to comment below
Cloud Tags: disabling right click in html,html code to disable right click,create a blogspot,blogger template,templates blogger,disable right click on blogger,disable right click
No comments:
Post a Comment