Disable Right Click / Selection in Blogspot Templates
Most of the Genuine Blogger like us faces the problem of content duplicity. Generally the New Born Baby bloggers donot understand the value of quality content building, rather they try to be smart. They choose a topic-> gather contains on the topic from several sites -> Merge the details & publish as their own contains.
These days Duplicity has become a major concern area in field of blogging. There are two way to protect your valuable contents.
1) Disable Right Click:- Its a very old Trick. The main problem with this trick is that it may on work on All Web Browsers.
Step 1:-
Step 1:-
<!--Disable Copy And Paste Start-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Disable Copy And Paste End-->
& Save the Template.
Please Share, if you find it Useful.
Most of the Genuine Blogger like us faces the problem of content duplicity. Generally the New Born Baby bloggers donot understand the value of quality content building, rather they try to be smart. They choose a topic-> gather contains on the topic from several sites -> Merge the details & publish as their own contains.
These days Duplicity has become a major concern area in field of blogging. There are two way to protect your valuable contents.
1) Disable Right Click:- Its a very old Trick. The main problem with this trick is that it may on work on All Web Browsers.
Step 1:-
Login to your Blogger Account-> Goto your Blog "Design" -> Click on "Edit HTML" -> Tick on "Expand Widget Templates"
Step 2 :-
Find:- </body> in Coding (Copy ->Control F -> Control V & Enter).
Step 3:-
Just above it, paste the following :-
<script language=javascript>
<!--
var message="";
function clickIE()
{
if (document.all) {
(message);return false;}
}
function clickNS(e)
{
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{
document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
& Save the Template.
<script language=javascript>
<!--
var message="";
function clickIE()
{
if (document.all) {
(message);return false;}
}
function clickNS(e)
{
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{
document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
& Save the Template.
Now Check your Blog. Right Click is Disabled.
2) Disable Selection on Your Blog:- I Believe This is the best trick for Protecting your blog contents from getting copied. It will not disable right click rather it will not allow visitors to select your content by Mouse or Cntr+A. If they cannot select the contents, they cannot copy it.Step 1:-
Login to your Blogger Account-> Goto your Blog "Design" -> Click on "Edit HTML" -> Tick on "Expand Widget Templates"
Step 2 :-
Find:- </head> in Coding (Copy ->Control F -> Control V & Enter).
Step 3:-
Just Below it, paste the following :-
Just Below it, paste the following :-
<!--Disable Copy And Paste Start-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Disable Copy And Paste End-->
& Save the Template.
Now Check your Blog. Selection is Disabled.
Please Share, if you find it Useful.
Thanks,,
ReplyDeleteit works...!!
:D
Thanks Admin. It worked.
ReplyDeleteThanks Neetu, It really Works - Marry
ReplyDeleteThanks its really work on my blog......
ReplyDeleteyou are welcome Free4u. I have seen your all the blogs. They really nice. Don't you have google adsense?
DeleteThanks man. Not only the first option works but it also allows to use the search bar (the second option blocks it)
ReplyDeleteThanks! It rly works
ReplyDelete