• Resolved Melina

    (@melina1)


    Is there any way to hide this parts of “WP Live Chat” code from viewing source code? in secure reason of course)

    <script type='text/javascript'>
    /* <![CDATA[ */
    var wplc_ajaxurl = "";
    var wplc_ajaxurl_site = "";
    var wplc_nonce = "____________";
    var wplc_plugin_url = "";
    var wplc_display_name = "hide";
    var wplc_enable_ding = "1";
    var wplc_offline_msg = "";
    var wplc_offline_msg3 = "";
    var wplc_extra_data = [];
    var wplc_gravatar_image = "";
    var wplc_hide_chat = null;
    /* ]]> */
    </script>
    <script type="text/javascript">
    var wplc_ajaxurl = '';
    var wplc_nonce = '';
    </script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var smpvstatajx = {"ajaxurl":""};
    /* ]]> */
    </script>

    https://wordpress.org/plugins/wp-live-chat-support/

Viewing 1 replies (of 1 total)
  • Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi there.

    Unfortunately we can’t hide that data as it is outputted via WordPress’ core functionality where all those variables are localized from PHP into JavaScript, although we can definitely look into alternatives to see how we can improve on this.

    I apologize for any inconvenience caused.

Viewing 1 replies (of 1 total)

The topic ‘Hide ajax code’ is closed to new replies.