File manager - Edit - /home/jardides/www/Jardi-design/j37/media/system/js/keepalive-uncompressed.js
Back
/** * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * Keepalive javascript behavior * * Used for keeping the session alive * * @package Joomla * @since 3.7.0 */ !(function(){ 'use strict'; document.addEventListener('DOMContentLoaded', function() { var keepaliveOptions = Joomla.getOptions('system.keepalive'), keepaliveUri = keepaliveOptions.uri ? keepaliveOptions.uri.replace(/&/g, '&') : window.location.pathname, keepaliveInterval = keepaliveOptions.interval ? keepaliveOptions.interval : 45 * 1000; window.setInterval(function() { Joomla.request({ url: keepaliveUri, onSuccess: function(response, xhr) { // Do nothing }, onError: function(xhr) { // Do nothing } }); }, keepaliveInterval); }); })(window, document, Joomla);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings