Tuesday, February 22, 2011

How to disable right click on Blogger

If we disable Right click on blogger none can copy anything from your blog.if u want it you can try.

1. Sign In to your blogger and click "Design" on your dashboard and click "Page Element".

2. Click "Add Gadget " and select "HTML/JavaScript".

3.Copy this below code and save it.

<center>

<table bgcolor="#cccd94" border="0" style="width: 400px;"><tbody>

<tr><td><script language="JavaScript">

<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)

//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////

function clickIE() {if (document.all) {(message);return false;}}

function clickNS(e) {if

(document.layers||(document.getElementById&amp;&amp;!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>

</td></tr>

</tbody></table>
</center>

4. Now none cant copy your blog.

2 comments: