CoreFiles by mySites.guru
keepalive.min.js1 lines, 577 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
48bf89e630dce5782a6bd4126cb13a17
sha1
20ace83a13886af1b0b5f58386fd8adf33f586a3
sha256
52ef0eb8863d389ac1ebd2720be4dbb2ba66af00fd85e87719338425e79b4efa
if(!window.Joomla)throw new Error("Joomla API was not properly initialised");const keepAliveOptions=Joomla.getOptions("system.keepalive"),keepAliveInterval=keepAliveOptions&&keepAliveOptions.interval?parseInt(keepAliveOptions.interval,10):45e3;let keepAliveUri=keepAliveOptions&&keepAliveOptions.uri?keepAliveOptions.uri.replace(/&/g,"&"):"";if(""===keepAliveUri){const e=Joomla.getOptions("system.paths");keepAliveUri=`${e?`${e.root}/index.php`:window.location.pathname}?option=com_ajax&format=json`}setInterval((()=>navigator.sendBeacon(keepAliveUri)),keepAliveInterval);

The same content is in 69 releases, Joomla 4.0.4-rc1 to 4.3.1. See them all, or every version of this file.