| Server IP : 121.121.20.254 / Your IP : 216.73.216.142 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/AIWEBSTATION/wp-content/plugins/wpbot-pro/js/ |
Upload File : |
document.addEventListener('DOMContentLoaded', function () {
const flushBtn = document.querySelector('.swal2-cancel.btn.btn-lg.flush-cache-cook.swal2-styled');
if (flushBtn) {
flushBtn.addEventListener('click', function () {
// Clear all cookies
document.cookie.split(";").forEach(function (c) {
document.cookie = c
.replace(/^ +/, "")
.replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/");
});
// Reload page (cache bypass not fully guaranteed)
location.reload(true); // `true` forces reload (bypassing cache in some browsers)
});
}
});