• mechanicman

    (@mechanicman)


    So I had made no changes to my site in the last few days. I wake up this morning and look at my site and on a desktop view I have this showing above my header:

    #sbi_mod_error{ display: block; }

    On mobile it shows all of this:

    function(url){ if(/(?:Chrome\/26\.0\.1410\.63 Safari\/537\.31|WordfenceTestMonBot)/.test(navigator.userAgent)){ return; } var addEvent = function(evt, handler) { if (window.addEventListener) { document.addEventListener(evt, handler, false); } else if (window.attachEvent) { document.attachEvent(‘on’ + evt, handler); } }; var removeEvent = function(evt, handler) { if (window.removeEventListener) { document.removeEventListener(evt, handler, false); } else if (window.detachEvent) { document.detachEvent(‘on’ + evt, handler); } }; var evts = ‘contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop keydown keypress keyup mousedown mousemove mouseout mouseover mouseup mousewheel scroll’.split(‘ ‘); var logHuman = function() { var wfscr = document.createElement(‘script’); wfscr.type = ‘text/javascript’; wfscr.async = true; wfscr.src = url + ‘&r=’ + Math.random(); (document.getElementsByTagName(‘head’)[0]||document.getElementsByTagName(‘body’)[0]).appendChild(wfscr); for (var i = 0; i < evts.length; i++) { removeEvent(evts[i], logHuman); } }; for (var i = 0; i < evts.length; i++) { addEvent(evts[i], logHuman); } })(‘//www.mechanic-man.com/?wordfence_lh=1&hid=DA344FC36193FBE7161DE3145EDB44BA’);

    Wordfence is at the top and bottom of this code all I can assume is that it’s a WordFence problem? I deactivated WF and tried it after clearing cache and it was still there. I loaded my page right clicked view source code and then searched for the text and it’s not there. I’m really at a loss how to get rid of this.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • wfyann

    (@wfyann)

    Hi @mechanicman,

    I just checked your page (from a desktop browser and also via a mobile browser emulator) and it looks fine to me.

    However I see many errors in the browser console.

    The issue could be cause by a conflict between the script we use to detect human visits and certain plugins/theme installed on your site.

    Have you tried temporarily switching to a default theme?

    Thread Starter mechanicman

    (@mechanicman)

    Turned off live traffic setting and everything is gone except ( –> ) which shows on my computer and phone in Firefox, Chrome, IE and Edge. If I turn live tracking back on all the text again shows on mobile.

    wfyann

    (@wfyann)

    Hi @mechanicman,

    I still see many errors in the browser console.

    Have you tried to temporarily switch to a default theme?

    If it’s not related to the theme, could you try and disable all other plugins one by one in order to find out if Wordfence is conflicting with one of them?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wordfence problem I assume?’ is closed to new replies.