Dana Ahmad Weblog

just sharing and storytelling

Mencegah Klik Kanan

Tinggalkan komentar

Tambahkan kode javascript berikut ini diantara tag dan halaman web Anda untuk mendisable klik kanan.

<script language=””JavaScript””> <!– var popup=”Sorry ya !!!\n\nThis Site Copyright ©2000″; function noway(go) { if (document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers) { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // –> </script>

sumber:klik-kanan.com

Iklan

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