Disable Right Click Function Blogspot?

2:33 pm




Hi frenss... saya just nak share how to disable right click on ur blog.. specially for blogger in blogspot.. This function on ur blog for avoid right click copyright on ur blog.. It is important to protect ur own right! :)
Lets Start...


Firstly login on ur blog and make sure u on Dashboard page.. Then, click on Design..
Login > Dashboard > Design





On Design of page element, u must add gadjet of HTML/JavaScript..






Choose gadjet of HTML/JavaScript...



Lastly, paste dis code.. and SAVE!




--------------------------------------------------------------------------------------------------------------------
<script language="JavaScript">
<!--
var message="Not allowed";
///////////////////////////////////
function clickIE4(){
if (event.button==5){
alert(message);
return false;}}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==4||e.which==5){
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>
-------------------------------------------------------------------------------------------------------------------


Change the bold font to your messege..

DONE!!

That' s all.. simple and easy right? good luck frenss!! :)

You Might Also Like

0 geng bergosip!

Like us on Facebook