File manager - Edit - /usr/local/cpanel/base/webmail/jupiter/_assets/webpros_logout_handler.min.js
Back
!function(e,n){"use strict";"function"==typeof define&&define.amd?define([],(function(){return n(e)})):n(e)}("undefined"!=typeof window?window:this,(function(e){"use strict";let n="",t=!1;function o(){if(!e.COMMON||"1"!==e.COMMON.isWebprosAccount)return;if(t)return;const o=document.getElementById("webpros-logout-modal-backdrop"),i=document.getElementById("webpros-logout-toggle"),c=document.getElementById("webpros-logout-confirm"),d=document.getElementById("webpros-logout-cancel"),u=document.getElementById("lnkHeaderLogout");if(!(o&&c&&d&&u))return;t=!0;const r=function(e,t){return function(o){n=o,t&&(t.checked=!1),e.style.display=""}}(o,i),f=function(e){return function(){e.style.display="none"}}(o);u.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();const n=u.closest("a"),t=u.href||n&&n.href;t&&r(t)})),c.addEventListener("click",(function(){let e=n;if(i&&i.checked){const n=-1!==e.indexOf("?")?"&":"?";e+=n+"is_webpros_account=1"}window.location.href=e})),d.addEventListener("click",f),o.addEventListener("click",(function(e){e.target===o&&f()}))}return"undefined"!=typeof define&&define.amd||("loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):o()),{init:o,_reset:function(){t=!1}}}));
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings