Subscribe For Free Updates!

We'll not spam mate! We promise.

Disable Right Click With Alert Messege / Without Alert

Today, i want to teach you all how to create and disable right click with alert message on your blog/blogs. You'll notice so many people complain of copyright issue, how they spent hours of time composing an article just to see their post everywhere without a backlink to their blog. For me, i don't really find it interesting at all. Ok, let's proceed..follow my step ok..??



1. Dashboard >Design>Add a Page element >html/javascript


2. Copy this code ~>




<script language=JavaScript>
<!--

//edit by unwanted


var message="PUT YOUR MESSEGE HERE";

///////////////////////////////////
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>



NOTE~> Purple Colour=Put your messege there..enjoy it..


_____________________________________________________________________________
Disable Right Click Without Alert


Wait.... I Also Want To Teach You How To Disable Right Click Without Alert Message..


1. Dashboard ~> Design ~> Add Gadget ~> Pilih Html/JavaScript

2. Paste this code and paste to your Html/JavaScript


<script language=JavaScript>
<!--

//Disable right click script III- By Harold (info@nairotech.com)
//For full source code, visit http://www.nairotech.com

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>

3. Save It..Enjoy.. You can check-out our Entertainment Blog Here: Gist Emperor and tell what you think about it. Thanks and don't forget to use the COMMENT BOX...



2 comments:

  1. well, do people still copy these days? incase they still do is nice you let hardworking bloggers know how to tackle such treats. copying is a bad practice for any blogger, but rewriting from other posts should be used instead. the best is too write original contents without duplicates.

    ReplyDelete
    Replies
    1. Yes, Kelvin.. The best is rewriting from other posts and that should only happen when we totally run out of ideas.. Thanks so much for your wonderful comment.

      Delete

CONFUSED ? FEEL FREE TO ASK

 We only entertain real and valuable comments. This means that you need to write comments with your REAL NAME. Comments with keywords or unrelated texts won't be approved. Also, instead of posting comments such as "nice/excellent articles", we would really appreciate if you could like it and share it with your friends/readers. Please, read our
comment policy