Tuesday, November 26, 2013

Remove Right-Click From Your Blogger!

In this tutorial I'm gonna tell a way from which you can remove right click option from your blogger blog.

You might have experienced this on some of the blogs but never got the way to merge that trick onto your blog. So I will provide you a Java Script which you are going to paste into your blog.




To do so, 
The instructions are the following:

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 the box having the heading "Content". 


<script language=JavaScript>
<!--

//edit by unwanted


var message="PUT YOUR MESSEGE HERE";

///////////////////////////////////
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 remove the highlighted words in the screenshot and place there your own message.
     After that simply click on "Save" button and finish your task!



Example of the message which appears after someone has right-clicked on my blog:


 Keep getting updates through the following:


Wajahat Hussain

This post is created by Wajahat Mahar. He is the owner of MrWajih39 Tutorials. He is managing 2 blogs and a Youtube channel from his living room since 3 years. He loves to wirte on web based tricks to share it.

0 comments:

Post a Comment

 

Copyright @ 2014 Crack Your IDM!.

Designed by Wajahat Mahar & Sponsored By MrWaji39 Tuts