CoreFiles by mySites.guru
privacycheck-es5.min.js1 lines, 1,437 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
a1dbbef9f2ca95586e8344a5b2bc8a44
sha1
40eca107378b07a199105481b23debf362ceda1c
sha256
004bbf13457f66cdb3aa5e47770804db89dc24b3d94eacc4d70b9b3bdf7e1c69
!function(){"use strict";!function(e){var t=function(){var t=Joomla.getOptions("js-privacy-check"),a=t.plg_quickicon_privacycheck_ajax_url,n=t.plg_quickicon_privacycheck_url,r=t.plg_quickicon_privacycheck_text,c=e.getElementById("plg_quickicon_privacycheck"),s=c.querySelector("span.j-links-link");Joomla.request({url:a,method:"GET",data:"",perform:!0,queued:!0,onSuccess:function(t){try{var a=JSON.parse(t);if(a.data.number_urgent_requests){var i=e.createElement("span");i.classList.add("badge","text-dark","bg-light"),i.textContent=a.data.number_urgent_requests,s.textContent=r.REQUESTFOUND+" ",s.appendChild(i),c.classList.add("danger");var l=e.createElement("span");l.classList.add("label","label-important"),l.textContent=r.REQUESTFOUND_MESSAGE.replace("%s",a.data.number_urgent_requests)+" ";var o=e.createElement("button");o.classList.add("btn","btn-primary","btn-sm"),o.setAttribute("onclick","document.location='"+n+"'"),o.textContent=r.REQUESTFOUND_BUTTON;var d=e.createElement("div");d.classList.add("alert","alert-error","alert-joomlaupdate"),d.appendChild(l),d.appendChild(o);var u=e.querySelector("#system-message-container");u.insertBefore(d,u.firstChild)}else c.classList.add("success"),s.textContent=r.NOREQUEST}catch(e){c.classList.add("danger"),s.textContent=r.ERROR}},onError:function(){c.classList.add("danger"),s.textContent=r.ERROR}})};window.addEventListener("load",(function(){setTimeout(t,360)}))}(document)}();

The same content is in 2 releases, Joomla 4.2.0-beta2 to 4.2.0-beta3. See them all, or every version of this file.