Need help with javascript

Discussion in 'JavaScript' started by webmaster24, May 12, 2011.

  1. #1
    Hello in need help with this code .
    I want that if the script is done it directs to my site

    javascript:isIE=/*@cc_on!@*/false;isIE ? swfHTML=document.getElementById('movie_player').getElementsByTagName('param')[1].value:swfHTML=document.getElementById("movie_player").getAttribute("flashvars");
    w=swfHTML.split("&"); for(i=0;i<=w.length-1;i++) if(w.split("=")[0] == "fmt_url_map"){links=unescape(w.split("=")[1]);break;}abc = links.split(",");for(i=0;i<=abc.length-1;i++){fmt=abc.split("|")[0];if(fmt==18){url = abc.split("|")[1];window.location.href = url + '&title=' + (((document.title.replace('#',' ')).replace('@',' ')).replace('*',' ')).replace('|',' ');}}

    Thanks
     
    webmaster24, May 12, 2011 IP
  2. Voynex

    Voynex Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    So what is not working for you in the script above?
     
    Voynex, May 24, 2011 IP