[quote=tracehendri]Cara inject ke js gimana????
[/quote]
neh gini
taro di bagian a
[quote]//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","[b]URL CSS[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);[/quote]
^satriya
pake yang ini
[spoiler]//***comment scanner***//
//comment scanner by styker17
function stykercommentscan(){
var scanner = document.getElementById("content_18").innerHTML;
var ITACconfirm = scanner.search(""+pageViewerFName+"</a");
if(ITACconfirm < 0) {
var r=confirm("hi, "+pageViewerFName+". Bro udah disini sekitar berapa menit githu..." + '\n' + "Tapi qo blom ngasih comment yagh?? " + '\n' + " " + '\n' + "Mau ngasih comment sekarang?");
if (r==true)
{
window.location="http://www.friendster.com/comments.php?uid=56707218";
}
else
{
alert("Oke deh, thx for comming, "+pageViewerFName+"!! " + '\n' + "Enjoy your stay!!" + '\n' + " " + '\n' + "Jangan lupa comment'e lho... ok?");
}
}
var month = null;
var namecharlength = pageViewerFName.length;
var monthonnumber = scanner.charAt(ITACconfirm+namecharlength+60) + scanner.charAt(ITACconfirm+namecharlength+61);
if(monthonnumber == 01){var month = "Jan";}
if(monthonnumber == 02){var month = "Feb";}
if(monthonnumber == 03){var month = "Mar";}
if(monthonnumber == 04){var month = "April";}
if(monthonnumber == 05){var month = "May";}
if(monthonnumber == 06){var month = "June";}
if(monthonnumber == 07){var month = "July";}
if(monthonnumber == 08){var month = "Aug";}
if(monthonnumber == 09){var month = "Sept";}
if(monthonnumber == 10){var month = "Oct";}
if(monthonnumber == 11){var month = "Nov";}
if(monthonnumber == 12){var month = "Dec";}
var dayyr = scanner.charAt(ITACconfirm+namecharlength+63) + scanner.charAt(ITACconfirm+namecharlength+64)+ ", " + scanner.charAt(ITACconfirm+namecharlength+55) + scanner.charAt(ITACconfirm+namecharlength+56) + scanner.charAt(ITACconfirm+namecharlength+57) + scanner.charAt(ITACconfirm+namecharlength+58);
if(ITACconfirm > 0)
{
alert("hi "+pageViewerFName+", " + '\n' + "selamat datang kembali. " + '\n' + "" + '\n' + "Terima kasih atas comment-nya pada "+month+" "+dayyr+". " + '\n' + "Sangat aa hargai lho!!!");
}
}setTimeout("stykercommentscan()",
30000);
function commentremind(){
var scanner = document.getElementById("content_18").innerHTML;
var ITACconfirm = scanner.search(""+pageViewerFName+"</a");
if(ITACconfirm < 0) {
window.open("http://h1.ripway.com/rezanf2/scanner.html")
}
else {
alert("Bye "+pageViewerFName+"..." + '\n' + "Thnx for comming!! Ditunggu kedatangannya lagi yah!! ^_^");
}
}window.onunload = function() {commentremind();}
[/spoiler]
moga berhasil...
oia...ini ngefek ke kita juga lho...
Last edited by kiddy (2008-05-18 07:07:15)