}Catch(Ex){}在标题中显示

时间:2021-02-16 作者:Fred Fabrega

我的站点标题中显示了以下字符串:}catch(ex){}

我可以在源代码中看到这一点:

    }</style><script>try{ <script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/2095bd42340716fa509260a90/406ca4747992260e47dbadffd.js");</script>
 }catch (ex){}</script>     <style type="text/css" id="wp-custom-css">
            @media (max-width: 465px){
    .heading-mobile-center{
        text-align: center;
    }
有人能帮忙吗?

谢谢

1 个回复
SO网友:Uwe

您已嵌套;脚本(>)代码段中的标记。请尝试以下代码段,它已重新格式化以便于阅读:

    <script id="mcjs">
    try {
        ! function(c, h, i, m, p) {
            m = c.createElement(h), p = c.getElementsByTagName(h)[0], m.async = 1, m.src = i, p.parentNode.insertBefore(m, p)
        }(document, "script", "https://chimpstatic.com/mcjs-connected/js/users/2095bd42340716fa509260a90/406ca4747992260e47dbadffd.js");
    } catch (ex) {}
    </script>