0

Blogging : How To Disable Right Click in Blog

Friday, 6 July 2012
Share this Article on :

How To Disable Right Click in Blog
maybe all of you don't want your picture blog stolen .
so just disable the right click on your blog so that , the copycat can stole your blog picture .

so by that ,
this is the javascript for disableing the right click :

<script language=javascript>
<!--

//Matikan Klik Kanan

var message="";
///////////////////////////////////
function clickIE() {if (document.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>

The Step is :
1. Download The Script

2. Go to your blog Layout :

3. Click on Edit HTML/JavaScript :

4. Paste The Javascript in the Configure HTML/JavaScript
Content :

5. Then Save , Try It ! :)


Artikel Terkait:

0 comments:

Post a Comment

Powered By Blogger