a i n a d z r i ;
 Home | Follow+

Isnin, 26 April 2010
tutorial disable right click..




salam... ari nie saya nak wat tutorial yg direquest oleh Gadiz_tulen..so, x nak membebel panjang.. jom tengok cara2 nye..

korang copy nie..



<script language=”javascript”>
//*******************************
//*Disable Right Click on a browser
//*Made available by http://www.anandsoft.com
//*Written by Ravi Shankar Bhatia
//*The above information may not be removed ..For help please email: info@anandsoft.com
//********************************/
PopUpURL = ” Function Disabled! “;

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

if (isIE||isNN)
{
document.oncontextmenu=checkV;
}
else
{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;
}

function checkV(e)
{
if (isN4)
{
if (e.which==2||e.which==3)
{
dPUW=alert(PopUpURL);
return false;
}
}
else
{
dPUW=alert(PopUpURL);
return false;
}
}
</script>

<!– End of Script –>

copy nie n paste kan lah kat ruang html kowang.. yang ayat berwarna merah tu boleh dtukar ke ayat sendiri.. arap maklum..

Label:



About Me


Blogger from Malacca-Bangalore. Was born in 1997. Blogging since 2008. Full time dental student and part time blogger. This blog is a little place where I express my feelings and memories. I'm sucker for cute things and beautiful words. Feel free to join my journey through out life and leave your advices or thoughts at the comment section or chatbox. Love, Ain Nadzri.


Chatbox


Alien sesat


Treasure


Copyright ©Ain Nadzri. All rights reserved.