CoreFiles by mySites.guru
privacycheck-es5.min.js1 lines, 1,427 bytes, from Joomla_4.0.5-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.0.5-rc1
md5
248b98af11cd011979a0fc0bf3d0ae56
sha1
a33bc0eee4ac9541dc655f01474dd770034c4ee7
sha256
e8631a2dbef72f3ddce37400a7bc628ae0abb27e2d3bfd8ac03e8c1c23218636
!function(){"use strict";!function(t){var e=function(){var e=Joomla.getOptions("js-privacy-check"),a=e.plg_quickicon_privacycheck_ajax_url,n=e.plg_quickicon_privacycheck_url,r=e.plg_quickicon_privacycheck_text,c=t.getElementById("plg_quickicon_privacycheck"),s=c.querySelector("span.j-links-link");Joomla.request({url:a,method:"GET",data:"",perform:!0,onSuccess:function(e){try{var a=JSON.parse(e);if(a.data.number_urgent_requests){var i=t.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=t.createElement("span");l.classList.add("label","label-important"),l.textContent=r.REQUESTFOUND_MESSAGE.replace("%s",a.data.number_urgent_requests)+" ";var o=t.createElement("button");o.classList.add("btn","btn-primary","btn-sm"),o.setAttribute("onclick","document.location='"+n+"'"),o.textContent=r.REQUESTFOUND_BUTTON;var d=t.createElement("div");d.classList.add("alert","alert-error","alert-joomlaupdate"),d.appendChild(l),d.appendChild(o);var u=t.querySelector("#system-message-container");u.insertBefore(d,u.firstChild)}else c.classList.add("success"),s.textContent=r.NOREQUEST}catch(t){c.classList.add("danger"),s.textContent=r.ERROR}},onError:function(){c.classList.add("danger"),s.textContent=r.ERROR}})};window.addEventListener("load",(function(){setTimeout(e,360)}))}(document)}();

The same content is in 43 releases, Joomla 4.0.0-rc6 to 4.2.0-beta1. See them all, or every version of this file.