Title: techpro's Replies | WordPress.org

---

# techpro

  [  ](https://wordpress.org/support/users/techpro/)

 *   [Profile](https://wordpress.org/support/users/techpro/)
 *   [Topics Started](https://wordpress.org/support/users/techpro/topics/)
 *   [Replies Created](https://wordpress.org/support/users/techpro/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/techpro/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/techpro/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/techpro/engagements/)
 *   [Favorites](https://wordpress.org/support/users/techpro/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Version 6.3.5 is out!](https://wordpress.org/support/topic/version-6-3-5-is-out/)
 *  [techpro](https://wordpress.org/support/users/techpro/)
 * (@techpro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/version-6-3-5-is-out/#post-8983124)
 * We are using free version of wordfence for now and planning to go premium as 
   soon as our wp website get completed, I noticed that our outsourcing developers
   are working fast but we are getting serious optimization issues with following
   wordfence script which is appearing in main and all inner-pages of website.
 * Found JavaScript inside head
    <script type=”text/javascript”> (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); } })(‘//demo-
   octalogo.com/iworldteam/?wordfence_logHuman=1&hid=1427550101F48143BEA564C41AB6CA1F’);
   </script>
 * I read in previous post that is for live traffic monitoring, but why it is automatically
   appearing in head of site, where all optimization testing website is marking 
   it as error and not good for placement. Also our hosting provider, where we have
   just 25 processes available is indicating that these javascripts in head might
   be the reason of “extra processes” consumption on our hosting account, due to
   which we are running out of server resources fast, please check the aforementioned
   script and enlighten us with your professional point-of-view, thank you.

Viewing 1 replies (of 1 total)