Friday, April 1, 2011

How to active the "Disable Right Click" on Blogspot

Part of Blogger must have something to blog can not right-clicked, whether it's with reason so that visitors can not do copy and paste, and others. Well at this time I will give some tips so that visitors can not do right click on your blog. Hope works :)

Follow this step:


1. Login to Blogger ==> Design ==> Page Elements ==> klik "Add a Gadget"
2. Select HTML / JavaScript
3. Put the following script in the "Content"
<script>
var message="Disable Right Click";
///////////////////////////////////
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>
4. Replace the sentence in red as you want.
5.Click Save, and finish.



How is the quality of the content of this Blog?


VISIT MY PAGE ON FACEBOOK

Bagikan

Jangan lewatkan

How to active the "Disable Right Click" on Blogspot
4/ 5
Oleh

Subscribe via email

Suka dengan artikel di atas? Tambahkan email Anda untuk berlangganan.

Silahkan tulis komentar anda dengan cerdas, sopan dan mudah dipahami. Terimakasih :)