s,ƃoןǝq ɐɔıƜ,ɐʎǝǝL
Disabled Right Click
Tuesday, April 3, 2012 | 2:25 AM | 0Talk Active
Assalamulaikum & Salam Sejahtera,

Arini leeya nak ajar bagaimana untuk membuat disable right click .


Step 1 :
 Dashboard > Design > Edit HTML

Step 2 :
Copy Code dibawah


<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="CLICK RIGHT DISABLE";
///////////////////////////////////
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")
// -->
Step 3 :
Paste kan code and done ;)

tulisan yang warna merah tu boleh la tukar kepada ayat korang suka ;)
if ade pape masalah just tinggalkan komen anda ;)

olderposts | Newer Post

Bloggenist


Nur Rabi'Atul Auliya' | 21 | Kuala Lumpur
Hello peeps ! Thanks for taking time to come here.Please behave yourself here or i'll crawling into your dream everynight . Leave me a nice speak at my cbox
Click Agree If You To See The Tutorial.

Agree or Disagree






Chatting



Web Site Hit Counter