HOME OWNER FRIENDS STUFFS REQUESTS FOLLOW DBOARD NEWER OLDER

Cara Disable Right-Click Pada Mouse
Selasa, 17 Juni 2014 - Permalink - 0 Comment(s)
Kali ini, aku kasih tau cara disable right click pada mouse di Blogger.
Ini untuk template Designer (tanpa blogskin)
Dashboard - Layout / Design - Add a Gadget - HTML/JavaScript
Copy kode dibawah ini:
<script language=JavaScript>
<!--//Disable right mouse click Script
//By Dynamicdrive (renigade@nsimail.com)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE4(){
if (event.button==2){return false;}}
function clickNS4(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=clickNS4;}
else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}
document.oncontextmenu=new Function("return false")// -->
</script>
Lalu paste di kotak html itu.... Kalau udah, save.

Nah sekarang kita masuk ke bagian Classic template (dengan blogskin)
Dashboard - Template
Cari kode <html> Caranya > Ctrl + F lalu ketik <html>.
Kalau sudah di paste, klik save template. Lalu lihat hasilnya! Gk akan bisa di right click kecuali kamu delete kode nya! :D

http://blogku-hannalayne-main-blog.blogspot.com/ -- Hanna

Label: , , , , , , , , , , , , ,




Exchange link open! Tell me at Cbox!