CoreFiles by mySites.guru
keepalive.min.js1 lines, 564 bytes, from Joomla_4.0.0-Stable-Full_Package.zip
Raw History Compare with 3.10.12
md5
afcf8a7376f25536e7e1f365b3f17983
sha1
68fd980eeacffe8a5b7e1b5559d1ee4ca1315f6e
sha256
e51dda7dfe441d32fb94b80de5a0b577745173076dbf5f5e3df34a641d437bec
((e,t)=>{const o=e=>{t.request({url:e})},n=()=>{if(!t||"function"!=typeof t.getOptions&&"function"!=typeof t.request)throw new Error("core.js was not properly initialised");const i=t.getOptions("system.keepalive"),r=i&&i.interval?parseInt(i.interval,10):45e3;let s=i&&i.uri?i.uri.replace(/&/g,"&"):"";if(""===s){const e=t.getOptions("system.paths");s=`${e?`${e.root}/index.php`:window.location.pathname}?option=com_ajax&format=json`}setInterval(o,r,s),e.removeEventListener("DOMContentLoaded",n)};e.addEventListener("DOMContentLoaded",n,!0)})(document,Joomla);

The same content is in 12 releases, Joomla 4.0.0-rc1 to 4.1.0-alpha1. See them all, or every version of this file.