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.
Step 2: Backup your Template before making any changes to your blog
(How to Backup Template)
Step 3: PressCtrl +F for search the code shown below
Now Replace it with the CSS code shown below
(How / Where to Add CSS to Blog of Blogger?)
Now Save template
*If Not Work
Follow this Steps -
Step 1: Go to Blogger Dashboard --> Template--> Edit HTMLStep 2: Backup your Template before making any changes to your blog
(How to Backup Template)
Step 3: Press
]]></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
not working
ReplyDeletePlease Install the Widget :)
Deleteits not working
ReplyDeletePlease Install the Widget :d
Delete