We help IT Professionals succeed at work.

what loads this javascript and from where?

I am debugging the joomla installation script on my pc (using apache and a php IDE).  The url is http://localhost/WebService4QBWC/joomla/installation/index.php.

Was curious what was causing the install script to generate a new http request every 30 seconds while php IDE was in break mode, so I set an XHR Breakpoint in Chrome DevTools for urls that contain 'localhost'.  

I see the following javascript being the cause:
window.setInterval(function() {
    var r;
    try {
        r = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP")
    } catch (e) {
    }
    if (r) {
        r.open("GET", "./", true);
        r.send(null)
    }
}, 30000);

Open in new window


How do I figure out what is causing this javascript to be loaded and executed?
Comment
Watch Question

Commented:
I suspect it might be from any of the includes.
Searched Joomla forum and thought it might be related,
 <http://forum.joomla.org/viewtopic.php?f=713&t=850942>.

Hope this resolves.