• Hey,

    I have a website on WordPress – https://www.smashingcamera.com. The content creation was started 1 month ago and the theme was installed shortly after that (bought on Themeforest, ton of good reviews).

    Once in a while, wherever I click on the site, it will open a new window with a youtube video – https://www.youtube.com/watch?v=8sW2_XNp-1E

    I thought this was just my issue but a friend told me the same thing happened to him on my site! So how could this script go into my website and I checked all the files in the Editor but there is no “youtube” anywhere.

    Help would be appreciated because I am clueless.
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter tarrum

    (@tarrum)

    The problem is this happens unexpectedly so I can disable all plugins and I don’t know what next.

    I use 4 plugins that thousands use; W3 Total cache, Disqus comments, SEO Ultimate and Contact Form.

    So even if I switch to Twenty Eleven I have no clue what do.

    Thanks for helping though.

    Thread Starter tarrum

    (@tarrum)

    Btw, the friend who found this also told me he saw this code using Page Source

    function checkTarget(e)
    {
    if ( !getCookie(‘popundr’) ) {
    var e = e || window.event;
    var win = doOpen(‘https://www.youtube.com/watch?v=8sW2_XNp-1E’);

    setCookie(‘popundr’, 1, 24*60*60*1000);
    }
    }

    But I can not find it in my WordPress files, nor in the Page source anymore! It was on the home page.

    I checked your site via two different malware scanners but didn’t get anything on either. What you could do is make a note of this page and find that code in the source. Then switch to Twenty Eleven, refresh the page (using CTRL + 5 or similar), check the source again and see if this code is still there.

    Unfortunately, this kind of troubleshooting has to be a process of elimination as there are just so many possible variables/causes.

    Thread Starter tarrum

    (@tarrum)

    I just used Notepad++ to go through my theme directory and found nothing.

    I am going to try with plugins but this is just so weird…

    hey, tarrum, did you find the solution? l have the same case. the only difference is the target-address on spam.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Clicking on Site Opens Spam Youtube Video’ is closed to new replies.