https://chat.ichatlink.net/widget/standalone.html?

Submitted URL:
https://chat.ichatlink.net/widget/standalone.html?
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 11 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

NameType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
parsefunction
initfunction
_MEIQIAfunction
SENTRY_RELEASEobject
SENTRY_RELEASESobject
__core-js_shared__object
coreobject

Console log messages · 1 found

Messages logged to the web console

TypeCategoryLog
errornetwork
URL
https://edge-api.meiqia.com/summer/widget/route/match
Text
Failed to load resource: the server responded with a status of 400 (Bad Request)

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="robots" content="noindex">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="icon" href="data:;base64,=">
    <title></title>
    <style>
        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }
    </style>
</head>

<body>
    <script async="" charset="UTF-8" src="loader.js"></script><script type="text/javascript">
        function parse (query) {
            var qs = {};
            var i = query.indexOf('?');
            if (i < 0 && query.indexOf('=') < 0) {
                return qs;
            } else if (i >= 0) {
                query = query.substring(i + 1);
            }

            var parts = query.split('&');
            for (var n = 0; n < parts.length; n++) {
                var part = parts[n];
                var key = part.split('=')[0];
                var val = part.split('=')[1];
                key = key.toLowerCase();
                if (typeof qs[key] === 'undefined') {
                    qs[key] = decodeURIComponent(val);
                } else if (typeof qs[key] === 'string') {
                    var arr = [qs[key], decodeURIComponent(val)];
                    qs[key] = arr;
                } else {
                    qs[key].push(decodeURIComponent(val));
                }
            }
            return qs;
        }
        function init () {
            (function (m, ei, q, i, a, j, s) {
                m[i] =
                    m[i] ||
                    function () {
                        (m[i].a = m[i].a || []).push(arguments);
                    };
                (j = ei.createElement(q)), (s = ei.getElementsByTagName(q)[0]);
                j.async = true;
                j.charset = 'UTF-8';
                j.src = 'loader.js';
                s.parentNode.insertBefore(j, s);
            })(window, document, 'script', '_MEIQIA');

            const url = window.location.search.replace(/&amp;/g, '&')
                .replace(/&lt;/g, '<')
                .replace(/&gt;/g, '>')
                .replace(/&nbsp;/g, ' ')
                .replace(/&#39;/g, "'")
                .replace(/&quot;/g, '"')
                .replace(/<br\/>/g, '\n');
            var data = parse(url);
            var entId = data.entid || data.eid;

            if (Object.prototype.toString.call(entId) === '[object Array]') {
                entId = entId[0];
            }

            if (/^\d+$/.test(entId)) {
                entId = +entId;
            }

            _MEIQIA('_allowCheck', true);
            _MEIQIA('entId', entId);
            _MEIQIA('standalone', function (config) {
                if (config.type === 'full') {
                    document.body.style['background-color'] = '#fff';
                    return;
                }
                if (config.color) {
                    document.body.style['background-color'] = '#' + config.color;
                }
                if (config.url) {
                    document.body.style['background-image'] = 'url(' + config.url + ')';
                    document.body.style['background-repeat'] = 'no-repeat';
                    document.body.style['background-size'] = '100% 100%';
                }
            });
            _MEIQIA('withoutBtn');

            /* _MEIQIA("product", {
                picUrl: '',
                title: `1`,
                description: '1',
                productUrl: 'https://image.baidu.com',
                picUrl: 'https://image.baidu.com',
                success: function (data) {
                    console.log(data, 'data');
                },
                error: function (error) {
                    console.log(error, 'error');
                }

            }) */

            if (data.metadata) {
                try {
                    var metadata = JSON.parse(data.metadata);
                    _MEIQIA('metadata', metadata);
                } catch (e) { }
            }

            if (data.encryptedmetadata) {
                _MEIQIA('encryptedMetadata', data.encryptedmetadata);
            }

            if (data.subsource) {
                _MEIQIA('subSource', data.subsource);
            }

            if (data.language) {
                if (data.languagelocal !== 'true') {
                    _MEIQIA('language', data.language);
                }
            }
            if (data.languagelocal === 'true') {
                _MEIQIA('languageLocal', true);
            }
            if (data.fallback) {
                _MEIQIA('fallback', +data.fallback);
            }
            if (data.clientid) {
                _MEIQIA('clientId', data.clientid);
            }
            if (data.agentid || data.groupid) {
                _MEIQIA('assign', {
                    agentToken: data.agentid || null,
                    groupToken: data.groupid || null
                });
            }
            if (data.fallback) {
                _MEIQIA('fallback', data.fallback);
            }
            if (data.socketprotocol) {
                _MEIQIA('socketProtocol', data.socketprotocol);
            }
            _MEIQIA('showPanel', {
                greeting: data.greeting || '',
                agentToken: data.agentid || null,
                groupToken: data.groupid || null
            });
        }
        init();
    </script>


</body></html>