[quote=nyufs]ini kode cbox nya...[/quote]
nih kmu pake script q aja....
<">kode diatas tarok di jsmu paling atas...
di [b]A[/b]...
[spoiler]//=======================RIGHT KLIK CBOX===============
if (!attachOnLoadHandler(function() { wRClicked();})) window.onload = function() { wRClicked();};
function wRClicked() {
/*if(pageViewerID == pageOwnerID)*/ WHORC.init();
}
if (typeof WHORC == "undefined") { WHORC = {}; }
WHORC = {
rccboxform: [], message: "[b]1 kali lho[/b]",
base: {
"whorcCbox": ["www3","2947513","1304"]
},
init: function() {
for (val in this.base) {
this.rccboxform = "<div style='background:url(http://i150.photobucket.com/albums/s90/cantbthatbad/Tribal.jpg) no-repeat fixed center;-moz-border-radius: 9px;border:8px ridge #ccff33;>"+"<iframe frameborder=\"0\" width=\"250\" height=\"343\" src=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"rcPost\" id=\"rcPost\">"+
"</iframe>"+
"<br />"+
"<div style=\"display:none\">"+
"<form name=\"whoClick\" target=\"rcPost\" action=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=submit\" method=\"post\">"+
"<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+
"<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+this.message+"</textarea>"+
"<input type=\"submit\" value=\"Post\" name=\"sub\">"+
"</form>"+
"</div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_rccboxform'); return false\"><div title=\"header=[[b]DAFTAR KLIK-KLIK KANAN[/b]] body=[[b]para yg hoby klik kanan nih[/b]]\">"+pageOwnerFName+"\'s No Right Click Box</div></a>","<div id=\""+val+"\" align=\"center\">"+WHORC.rccboxform+"</div>","rccboxform",null);
show_hide('content_rccboxform');
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = WHORC.NS4;
}
else if (document.all && !document.getElementById) {
document.onmousedown = WHORC.IE4;
}
document.oncontextmenu = new Function("WHORC.whoRC();return false");
},
whoRC: function() {
if((pageViewerID!=pageOwnerID) && (pageViewerID != "")) {
klikklik+=1;
if (klikklik=
){
document.whoClick.pst.value="BANDEL - 3x ngilik";
document.whoClick.submit();
TRACKER.sendExit();
for (var i=0;i<1000;i++) {
alert("Maaf, batas limit TIGA kali klik sudah habis.");
}
}
document.whoClick.submit();
if (klikklik==1) alert("[b]Peringatan pertama.Jangan klik kanan.[/b]");
if (klikklik==2) alert("[b]Peringatan kedua.Jangan klik kanan sekali lg.[/b]");
}
},
IE4: function() {
if (event.button == 2) {
this.whoRC();
return false;
}
},
NS4: function(e) {
if (document.layers || document.getElementById && !document.all) {
if (e.which == 2 || e.which == 3) {
this.whoRC();
return false;
}
}
}
};
if (typeof addNewBox == "undefined") { addNewBox = {}; }
addNewBox = {
//addNewBox v2.2
/*
header: HTML string name
null - no header
x: "above" - HTML string: at the above of sibling box
"below" - HTML string: at the below of sibling box
null - HTML string: at the very bottom of box
sibling:- /controlpanel/i
- /photos/i
- /blogs/i
- /reviews/i
- /moreabout/i
- /publiccomments/i
- /scrapbook/i
- /meettrail/i
- /friends/i
- /ads/i
- /fanof/i
- /groups/i
*/
li: [], ul: [],
HTML: function(head,code,id,sibling,x) {
this.li = document.createElement("LI");
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+
head+
"<div id=\"content_"+id+"\">"+
code+
"</div>"+
"</div>";
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li);
else if (x == "above") {
this.ul = this.getModuleByClassName(sibling)[0];
this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode);
}
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};[/spoiler]
kode diatas ini kmu tarok di [b]B[/b]...
trus yg q bold kmu boleh ganti ma kata2mu...
kode diatas dilengkapi dgn peringatan...
punya bang nophzt....
smoga berhasil....
[b]edited[/b]
kode diatas juga udah pake CBOX mu...
lebih baik jgn di inject....
tar kelamaan manggil...
OK...
klo gk bisa balik ksni aja lg...
[quote=An93L]ada yg tau code shake window??
trs sama code untuk klik kanan itu
koq ga jalan
[/quote]
mksdnya ini...
http://theftalk.com/t28468-Windows-Bergetar-%5BHadiah-Buat-Para-Ripper%5D.html
Last edited by oby_nagnar (2008-08-09 02:29:17)