Iklan Anda
Bloggers always wanted to prevent users or other bloggers from copying the content from their blog or website. Few Bloggers do lots of efforts by researching and writing great articles for their blog, whereas some just copy and paste article and tutorials on their blog from others. So to prevent such bloggers from copying the content from your blog i will teach you to disable right click on your blog with just simple Javascript. So lets get started.
1. Go to your blogger Dashboard and click on Layout.
2. Then click on Add Gadget.
3. Choose Html/Javascript From Popup Window
4. Now Copy and Paste below code into it.
5. Now save it and you are done disabling right click on your blog.
If you have any problem disabling right click on your blog or have any other question or suggestion then leave a comment below. I will be glad to help you. Don't Forget to subscribe, +1 on Google+ and like us on Facebook.
How to disable right click on blog or website ?
1. Go to your blogger Dashboard and click on Layout.
2. Then click on Add Gadget.
3. Choose Html/Javascript From Popup Window
4. Now Copy and Paste below code into it.
<script type="text/javascript">
/******************************************************************************
*** COPY PROTECTED BY Prio-Soft ****
******************************************************************************/
var message="Admin Page: https://www.facebook.com/Shawon.khan123";
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>
5. Now save it and you are done disabling right click on your blog.
If you have any problem disabling right click on your blog or have any other question or suggestion then leave a comment below. I will be glad to help you. Don't Forget to subscribe, +1 on Google+ and like us on Facebook.
Iklan Anda
Baca juga:
Tags:
#Blogger