Searching...
Sabtu, 01 September 2012
07.22 0

Installing Disable Right Click On the Blog

Tutorial this time is also taken from the site unwanted86 tutorialuntukblog blog.
there may be some of you who do not like the occurrence of problems from your blog copy paste without any credits or backlinks.

if you want to disabled right click below, here are the steps, very easy to install

1) Copy the code below
<script language=JavaScript>
<! -

/ / edit by mediasiber


var message = "Enter Your Message Here";

/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
clickIE4 function () {
if (event.button == 2) {
alert (message);
return false;
}
}

clickNS4 function (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>

2) Paste the "HTML / JavaScript" in your blog.
Dashboard> Design> Add a Page element> html / javascript.

4) Press save and finishes

0 komentar:

Posting Komentar