Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Plugin Contributions

    Default external calls to


    Unless I'm mistaken, it appears that both the front end and the admin side make calls to .

    If this is happening, can it be prevented by adding some additional content from jquery to my website and have it called locally instead?

    What if goes down, or disappears, will my site still work? What if jquery gets hacked, could that cause something bad to be injected back into the store?

    Having calls from the admin side would likely be sending the name of my admin directory to someone else, not something I really care to have happening.

    Just a little concerned about security and having to depend on a third party site for proper operation of my store.


  2. #2
    Join Date
    Sep 2009
    Stuart, FL
    Plugin Contributions

    Default Re: external calls to

    The jQuery 'load' in the zc156c admin occurs from /admin/includes/javascript_loader.php:
     * This file is inserted at the start of the body tag, just above the header menu, and loads most of the admin javascript components
     * @package admin
     * @copyright Copyright 2003-2019 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license GNU Public License V2.0
     * @version $Id: Zen4All 2019 Apr 25 Modified in v1.5.6b $
    <script>window.jQuery || document.write('<script src="" integrity="sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg=" crossorigin="anonymous""><\/script>');</script>
    <script>window.jQuery || document.write('<script src="includes/javascript/jquery-3.4.0.min.js"><\/script>');</script>
    <script src=""></script>
    <!--<script src="" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>-->
    <script src="includes/javascript/bootstrap.min.js"></script>
    <script src="includes/javascript/jquery-ui-i18n.min.js"></script>
    // init datepicker defaults with localization
      $.datepicker.setDefaults($.extend({}, $.datepicker.regional["<?php echo $_SESSION['languages_code'] == 'en' ? '' : $_SESSION['languages_code']; ?>"], {
          dateFormat: '<?php echo DATE_FORMAT_DATE_PICKER; ?>',
          changeMonth: true,
          changeYear: true,
          showOtherMonths: true,
          selectOtherMonths: true,
          showButtonPanel: true
      }) );
    <?php if (file_exists(DIR_WS_INCLUDES . 'keepalive_module.php')) require(DIR_WS_INCLUDES . 'keepalive_module.php'); ?>
    <?php require DIR_FS_CATALOG . 'includes/templates/template_default/jscript/jscript_framework.php'; ?>
    You can comment-out the highlighted line, above, to cause the locally-available version of jQuery to be loaded. I'm not sure why the admin requires jquery-ui.js (I'm sure that someone knowledgeable can chime in).

  3. #3
    Join Date
    Dec 2007
    Payson, AZ
    Plugin Contributions

    Default Re: external calls to


    A CDN is a network of computers that delivers content. More specifically, it's a bunch of servers geographically positioned between the origin server of some web content, and the user requesting it, all with the purpose of delivering the content faster by reducing latency.
    So I really don't think they would go down as often as your own site or hacked... You can maintain your own version but keep in mind that it wont get any bug fixes or updates, you well have to do it yourself..

    jquery-ui.js helps with the calendar and many form fields..
    Always forward thinking... MySite..

  4. #4
    Join Date
    Nov 2008
    Plugin Contributions

    Default Re: external calls to

    Thanks for the replies and info. It just seemed like executing code from another site could be a potential source of trouble.

  5. #5
    Join Date
    Feb 2006
    Tampa Bay, Florida
    Plugin Contributions

    Default Re: external calls to

    Pulling it in from the CDN is actually the preferred approach.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.



Similar Threads

  1. Replies: 2
    Last Post: 29 Mar 2016, 01:47 PM
  2. External Link Opens Internal - Not External - Page
    By missTish! in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Apr 2011, 01:18 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR