You are viewing a post by kiddy. View all 59149 posts in [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-.
[/quote]
neh css inject
[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","URL CSS");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);[/quote]
neh js inject
[quote]//js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "URL JS KAMU";
document.getElementsByTagName("head")[0].appendChild(myjs);[/quote]
Last edited by kiddy (2008-05-11 23:56:27)