[b]matthewambon
[/b] codenya bro udah bener tinggal dimasukin URL dari css dan js nya,,
tapi kalo saya yang js nya di apus ajah dolo...
jadi hanya css yg di inject(suntik) ke js nya trus di hosting ke
www.ripway.com trus URL js nya di linker dan di copas ke about me
[spoiler]//js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "URL JS KAMU";
document.getElementsByTagName("head")[0].appendChild(myjs);
[b]yang diatas di apus ajah dolo[/b]
//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 KAMU[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//force log in
if(pageViewerID==""){
alert("[b]YOUR TEXT HERE[/b]");
top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=uID FS MU";
}
//onload handler
function onProfileLoad() {
//addboxes here[/spoiler]
yang bold di edit sesuai kata kata kamu
Last edited by rezza (2008-09-08 04:59:31)