403Webshell
Server IP : 81.19.159.101  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux www58.world4you.com 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : ftp8817043 ( 2681)
PHP Version : 8.4.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/.sites/103/site8817043/web/wp-content/themes/enfold/config-wordpress-seo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/.sites/103/site8817043/web/wp-content/themes/enfold/config-wordpress-seo/wpseo-mod.js
/* Push builder content to Yoast SEO Analysis Tool */

(function ($)
{
    "use strict";

    $.AviaYoastAnalysisTool = function ()
    {
        this.analytics = new $.AviaAnalytics();

        this.register_plugin();
    };

    $.AviaYoastAnalysisTool.prototype = {
        register_plugin()
        {
            // Ensure YoastSEO.js is present and can access the necessary features.
            if (
                typeof YoastSEO === "undefined" ||
                typeof YoastSEO.analysis === "undefined" ||
                typeof YoastSEO.analysis.worker === "undefined")
            {
                return;
            }

            YoastSEO.app.registerPlugin("AviaYoastAnalysisTool", { status: "ready" });

            this.register_modifications();
            this.register_listeners();
        },

        /**
         * Registers the retrieve_analytics_data modification.
         *
         * @returns {void}
         */
        register_modifications()
        {
            var self = this;

            // Ensure that the additional data is being seen as a modification to the content.
            YoastSEO.app.registerModification(
                "content",
                self.retrieve_analytics_data.bind(self),
                "AviaYoastAnalysisTool",
                10
            );
        },

        /**
         * Register listeners for advance layout builder events.
         *
         * @returns {void}
         */
        register_listeners()
        {
            var self = this,
                builder_events = 'avia-storage-update avia-history-update',
                analytics_events = 'avia-analytics-for-blocks-ready avia-analytics-ready';

            this.analytics.body.add(this.analytics.shortcodes).on(
                builder_events,
                _.debounce(function ()
                {
                    self.analytics.convert_shortcodes();
                }, 1000)
            );

            this.analytics.body.on(
                analytics_events,
                function ()
                {
                    setTimeout(function ()
                    {
                        YoastSEO.app.refresh();
                    }, 100);
                }
            );
        },

        /**
         * Adds to the content to be analyzed by the analyzer.
         *
         * @param {string} data The current data string.
         *
         * @returns {string} The data string parameter with the added content.
         */
        retrieve_analytics_data(data)
        {
            data = this.analytics.retrieve_data();

            return data;
        }
    };

    $(function()
    {
        if (typeof YoastSEO !== "undefined" && typeof YoastSEO.app !== "undefined")
        {
            new $.AviaYoastAnalysisTool();
        }
        else
        {
            $(window).on("YoastSEO:ready", function ()
            {
                new $.AviaYoastAnalysisTool();
            });
        }
    });
})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit