Forums

[resolved] Unexplained URLs with JavaScript Code? (3 posts)

  1. RGJ
    Member
    Posted 12 months ago #

    Everyone,

    I recently installed WordPress at my website using my own theme and everything is working fine. I am very happy with it. However, I have noticed that I am getting a lot of traffic to URLs include an odd bit of code. I have searched the Codex and the Internet but found nothing aside from what looked like JavaScript code, which is why I think this might have something to do with JavaScript.

    I didn't think WordPress used JavaScript routinely and I don't believe I installed any plug-ins that use JavaScript, although I could be wrong. I am using Subscribe me, Simple Flash Video, Amazonify, Wordpress Automatic Upgrade and wp-cache.

    Here is the line of code in question:

    function(o){ for(var i = 0, len = this.length

    I am seeing it attached to a slew of URLS including the root, individual categories, pages and even other areas of my website that are not connected to WordPress. But nothing like this happened before I installed WordPress, which indicates to me that somehow this involves WordPress.

    Here are some of the actual links:

    http://www.tvobscurities.com/function(o)%7B%20%20%20%20for(var%20i%20=%200,%20len%20=%20this.length

    http://www.tvobscurities.com/category/video-vault/function(o)%7B%20%20%20%20for(var%20i%20=%200,%20len%20=%20this.length

    http://www.tvobscurities.com/category/video-vault/function(o)%7B%20%20%20%20for(var%20i%20=%200,%20len%20=%20this.length

    I use AWStats, if that is any help, and I have looked through my raw log files but I'm afraid I don't know what to be looking for. For all I know, this sort of thing is supposed to happen.

    Thank you kindly in advance for any help with this issue,

    RGJ

  2. Dagon Design
    Member
    Posted 12 months ago #

    Looking at the source of the page, Javascript is visible for the following scripts/plugins:

    - simple flash video plugin
    - sem subscribe me
    - amazon associates code

    I would try disabling these to see if it fixes the problem. If you use any caching plugins, be sure to clear the cache after disabling them. It could be some mal-formed js code.

  3. RGJ
    Member
    Posted 11 months ago #

    Thanks for the suggestion. After looking at my logs again I thought there might be a correlation between Subscribe Me and the odd URLs but when I disabled Subscribe Me the URLs kept showing up. Next I tried Amazonify and, what do you know, the URLs have stopped. So I think this is resolved. Thanks again!

Reply

You must log in to post.

About this Topic