Monday, 5 January 2015

// // Leave a Comment

How To Disable Right Click On Blogger

Hello Readers Welcome Back To TechMadHunter. Hope Everything Is Okay At Your End. So Friends Are You A Blogger? If Yes Then This Article Is For You Guys. Today I Am Writing This Article To Tell You How To Disable Right Click On Blogger. You Might Have Wondered In Some Websites Or Blogs Right Click Is Disabled. Today I Will Tech You How To Disable Right Click in Blogger

Follow The Steps To "Disable Right Click On Blogger"

Step1# :-Log In To Blogger Dashboard ==> Layout ==> Page Element

Step2#:- Click On "Add  a Gadget" On The Slide Bar

Step3#:- Select 'HTML/JavaScript' and add the code given below and click save.

<script language="JavaScript">
<!--

//Disable right click script - By Techmadhunter (rhutikgiradkar@gmail.com)
//For full source code, visit http://www.techmadhunter.com

var message="";
///////////////////////////////////
function clickIE() {if (<span id="IL_AD5" class="IL_AD">document</span>.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>



0 comments: