Go To Design -> Page Element -> Select Add Gadget -> Select Html/java Script Option ->
Paste The Below Code And Save It. Then View Your Blog,You Can Identify Changes.
<script language="JavaScript">
<!--
var message="Keep Smiling!";
///////////////////////////////////
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>
<script type='text/javascript'>
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>
<script type='text/javascript'>
disableSelection(document.body)
</script>
Paste The Below Code And Save It. Then View Your Blog,You Can Identify Changes.
<script language="JavaScript">
<!--
var message="Keep Smiling!";
///////////////////////////////////
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>
<script type='text/javascript'>
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>
<script type='text/javascript'>
disableSelection(document.body)
</script>
Share your views...
3 Respones to "How To Disable Right Click And Copy Right Product For Blog spot"
THANK YOU FOR THE INFORMATION .HI GUYS IF YOU SEARCHING FOR SEO Company
PLEASE VISIT US
SEO Company
20 June 2019 at 21:13
Very interesting blog Thank you for sharing such a nice and interesting blog and really very helpful article
seo training in hyderabad
smm training in hyderabad
sem training in hyderabad
digital marketing training in hyderabad
24 September 2019 at 02:40
Great post!!Thanks for sharing it with us....really needed.SmartSocialBrand - A Digital & Inbound Marketing Service Agency in Hyderabad, India who strives to help businesses to grow in an age of digital transformation with Inbound Marketing, Lead Generation and Digital Marketing Services.Digital Marketing Agencies In Hyderabad
20 November 2019 at 02:47
Post a Comment