
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