CoreFiles by mySites.guru
privacycheck-es5.min.js1 lines, 1,398 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
7ef73f9c2e57058b22905bb54cc575ad
sha1
3c8c53ab7a37d94d054f26babc6e3fa85cca2b2a
sha256
a50dae2bf046a7088f48653f81938169e3e2a3f3c07e523ed5665016a3fdc569
!function(){"use strict";!function(t){t.addEventListener("DOMContentLoaded",(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 d=t.createElement("button");d.classList.add("btn","btn-primary","btn-sm"),d.setAttribute("onclick","document.location='"+n+"'"),d.textContent=r.REQUESTFOUND_BUTTON;var o=t.createElement("div");o.classList.add("alert","alert-error","alert-joomlaupdate"),o.appendChild(l),o.appendChild(d);var u=t.querySelector("#system-message-container");u.insertBefore(o,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}})}))}(document)}();

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