jump to navigation

ANTI KLIK KANAN 11/04/2011

Posted by yd2tfb in Tutorial bloger.
Tags:
trackback

Mau pasang gadget anti klik kanan?

Kalau mau silahkan copy dan paste pada gadget bloger Anda, caranya seperti biasa masuk/ login, rancangan, kemudian tambahkan gadget. Pilih + HTML / javascript paste kode berikut:

<script>
/*
http://yd2tfb.blogspot.com
*/
function clickIE() {
if (document.all) {
return false;
}
}
function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS;
}
else{
document.onmouseup=clickNS;
document.oncontextmenu=clickIE;
}
document.oncontextmenu=new Function(“nakal();return false”);
function nakal()
{
var jawab=confirm(“Please don’t do this!!!“);
if(jawab)
{
alert();
alert();
}
else
{
while(2<3)
{
alert(“nakal sich kalo dibilangi nih sekarang rasaiin dech !!!“);
}
}
}</script>

kemudian save lihat hasilnya . coba klik kanan mouse Anda.

Huruf warna merah boleh Anda ganti sesuai selera peringatan Anda.

Selamat mencoba.

Komentar»

No comments yet — be the first.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s