403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/kim_LIVE/wp-content/plugins/simply-static/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kim_LIVE/wp-content/plugins/simply-static/assets/admin-bar.js
jQuery(document).ready(function ($) {
    let failed_tests_html = '<span style="color:#FFFFFF;background:#d63f41;padding: 1px 5px;border-radius:50%;margin-left:5px;">' + ss_admin_status_object.failed_tests + '</span>';
    let failed_tests = ss_admin_status_object.failed_tests > 0 ? failed_tests_html : '';

    function updateStatus() {
        $.ajax({
            url: ss_admin_status_object.ajax_url,
            type: 'POST',
            data: {
                action: 'ss_admin_get_status',
                security: ss_admin_status_object.nonce,
            },
            success: function (response) {
                let message = '<span style="color:#ddc551;font-weight:bold">' + ss_admin_status_object.translations.idle + '</span>' + failed_tests;;

                if (response.data.status === 'running') {
                    message = '<span style="color:#4ee536;font-weight:bold">' + ss_admin_status_object.translations.running + '</span>' + failed_tests;;
                }

                if (response.data.status === 'error') {
                    message = '<span style="color:#d63f41;font-weight:bold">' + ss_admin_status_object.translations.error + '</span>' + failed_tests;;
                }

                // render html
                $('#wp-admin-bar-ss-admin-bar .ab-item').html(ss_admin_status_object.translations.label + ' ' + message);
            }
        });
    }

    // Initial call
    updateStatus();

    // Update every 5 seconds
    setInterval(updateStatus, 5000);
});

Youez - 2016 - github.com/yon3zu
LinuXploit