HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/www/wp-content/plugins/simple-cloudflare-turnstile/js/integrations/blocksy.js
/* Blocksy */
document.addEventListener('DOMContentLoaded', function() {
    var headerAccount = document.querySelectorAll('.ct-header-account');
    headerAccount.forEach(function(element) {
        element.addEventListener('click', function() {
            turnstile.remove(".ct-account-panel #cf-turnstile-woo-register");
            setTimeout(function() {
                if(document.querySelector(".ct-account-panel #loginform .cf-turnstile")) {
                    turnstile.reset(".ct-account-panel #loginform .cf-turnstile");
                }
                if(document.querySelector(".ct-account-panel #registerform .cf-turnstile")) {
                    turnstile.reset(".ct-account-panel #registerform .cf-turnstile");
                    turnstile.remove(".ct-account-panel #registerform .sct-woocommerce-register");
                }
            }, 500);
        });
    });
});