Breaking News
Loading...
Sunday 23 June 2013

How to disable left / Right Click/ selecting to stop Copy Paste in blogger

How to disable left / Right Click/ selecting to stop Copy Paste in blogger In This Tutorial i will be able to show you ways To Disable left/Right Click /Selecting to prevent Copy Paste in blogger victimisation CSS. If you do not would like for somebody copy your blog contents or articles you'll be able to do it currently victimisation this trick. this fashion your blog visitors can solely ready to scan however cannot copy any contents or articles.

Follow this Steps -

Step 1: Go to Blogger Dashboard --> Template--> Edit HTML
Step 2: Backup your Template before making any changes to your blog
(How to Backup Template)
Step 3: Press Ctrl+F for search the code shown below

]]></b:skin>

Now Replace it with the CSS code shown below
(How / Where to Add CSS to Blog of Blogger?)

/*-- Disable Right and Left Key by www.blogofblogger.com --*/
.post-body {
-webkit-touch-callout: none;
-khtml-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
}
]]></b:skin>

Now Save template

*If Not Work

Add below code in a HTML/JavaScript Widget.

<script language=JavaScript>
<!--
//Disable right mouse click Script
var message="Function Disabled!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
OR
Install this Widget

You Also Like:

4 comments:

 
Toggle Footer