Wednesday, September 23, 2009

Turn Off Right Click

right click
Sometimes, you may be want the html source of your blog not easy to see or may be we want to hide the properties. One of many ways to to it is by turn off or disable right click.
Below are the script that you can use to turn off the right click.
Just copy the code and paste it between <head> and </head> tag.
<script language="JavaScript">
var message="Sorry..! Right Click is NOT ALLOWED";
///////////////////////////////////
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>
Just try the code and drop your comment below.
Thanks...!

12 comments:

K. said...

where should i paste the code ?

Saung Web said...

Thanks for your info friend... n met lebaran ya..

Saung Web

Sahabat said...

@K : Just drop the code before </head>

Festival Museum Nusantara said...

postingnya keren-keren

Anonymous said...

paste to notepad or what??

Anonymous said...

Finding stylish jewelry gift ideas for mom links of london is simple when you shop at the right online store. You can find the ideal gift of jewelry links of london charms for Mother's Day, her birthday, Christmas or just "because". What mom links of london bracelets & grandma doesn't enjoy receiving jewelry for just about any reason and mom will remember you each time she puts on her special jewelry links of london necklaces gift from you.This column will talk about the top six stylish jewelry gift ideas for mother & grandmother such as: stunning links of london sweetie bracelet mother's rings, jewelry that has been personalized or engraved, stylish watches, magnificent mother's earrings and distinctive mother's charm bracelets that give a mother a valued memento of those she cares the most about - her kids.

Anonymous said...

Ever since the Xbox 360 was louboutin sandals released in the market, a lot of red christian louboutin pumps consumers suffered from this kind of technical difficulties. Each particular discounted christian louboutin light around the power button has sale christian louboutin a specific meaning that you should know about. By knowing what the light means, then you will be able to know what is wrong with your Xbox 360.One red light will mean that the system has failed or the actual cheap christian louboutin sale gaming console has suffered uk christian shoes from hardware failure. Two red lights will mean that the gaming console is overheating. It will usually tell you that you should turn off the Xbox 360 gaming console and allow it to cool down.The worst indicated is the women christian louboutin discount 70 off three red lights or what is commonly referred to as the red ring of death. What this means is that your Xbox 360 gaming console has suffered cheap christian louboutin nude shoes from general hardware failure and that it can only be repaired if you ship it back to Microsoft.Normally, people experience this problem while they are playing a game. They usually experience christian louboutin tan leather sandels shoes freezing without warning. After shutting it down and letting it cool down for an hour or two, they turn christian louboutin calf length grey boots the system back on again and this is when they will see the three red rings of death.

chunxue said...

During the World War II, Art Deco jewellery was ugg sale a very popular style among women. The females started ugg boots wearing short dresses and cut their hair short. And uggs such boyish style was accessorized with Art Deco jewellery. They used cheap ugg boots long dangling earrings and necklaces, multiple bracelets and bold ugg boots uk rings.Art Deco jewellery has harshly geometric and symmetrical theme instead disocunt ugg boots of free flowing curves and naturalistic motifs. Art Deco Jewelry buy ugg boots today displays designs that consist of arcs, circles, rectangles, squares, and ugg outlet triangles. Bracelets, earrings, necklaces and rings are added with long ugg boots outlet lines and curves.One example of Art Deco jewelry is the Art Deco ring. Art Deco rings have ugg mall sophisticated sparkle and bold styles. These rings are not intended for a subtle look, they are meant to be noticed. Hence, these are perfect for people with bold styles.

Anonymous said...

It is made up of cheap panadora different pieces that pandora jewery complements and blends with each other to create that perfect look of an Indian bride. The Maangtika, the nose ring, the earrings, the bangles, the necklace, the anklets pandora jewerelly and toe rings make up the entirety of pandora jewlerry the complete Indian bridal jewelry.The Maangtika is the pandora charms and beads most traditional and most essential part of the Indian bridal jewelry. Apart pandora charms from the necklace, the Maangtika is the most noticeable piece pandora charms uk of the Indian bridal jewelry adorned on an Indian bride. It is worn on the bride' head and is designed to be unique for each bride. While its color and design largely depend on the colors of the bride's outfit, it is cheap pandora charms usually made of precious stones like pearls and diamonds. It has pandora charms sale a centerpiece that is exquisitely designed and sits on bride's forehead and is usually attached by a string that runs to the back of the bride's head. Another essential part of the Indian bridal jewelry pandora charms 2010 is the necklace. This piece is usually very eye-catching with a design that is in tune with the other pieces of Indian bridal jewelry adorned on the rest of the bride's body.

ARTHRITIS HIPERTROFI said...

info yang sangat bagus sekali

DEMAM TIFOID said...

keren gan infonya...

INFEKSI USUS HALUS said...

info yang sangat bermanfaat sekali...

Post a Comment

Please submit your comments below.
If you find an error on word verification, just click at the "word verification" to show the word verification box.
Thanks