• We’re getting this error on an SEO check up test:

    Refused to execute script from ‘https://www.mailerlite.com/’ because its MIME type
    (‘text/html’) is not executable, and strict MIME type checking is enabled.

    I believe this is the script that’s causing it:

    <script>
            (function (m, a, i, l, e, r) {
                m['MailerLiteObject'] = e;
    
                function f() {
                    var c = {a: arguments, q: []};
                    var r = this.push(c);
                    return "number" != typeof r ? r : f.bind(c.q);
                }
    
                f.q = f.q || [];
                m[e] = m[e] || f.bind(f.q);
                m[e].q = m[e].q || f.q;
                r = a.createElement(i);
                var _ = a.getElementsByTagName(i)[0];
                r.async = 1;
                r.src = l + '?' + (~~(new Date().getTime() / 10000000));
                _.parentNode.insertBefore(r, _);
            })(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml');
    
            var ml_account = ml('accounts', '1166814', 'z8o3a9g0x1', 'load');
        </script>

    Is there a way to fix this on your next update?

    The page I need help with: [log in to see the link]

  • The topic ‘JS error’ is closed to new replies.