How to solve the conflict between the comment code and the external call code of discuz

question:

http://www.sddp.net/news-1335.

discuzdiscuz:

comment Code:

<div id="SOHUCS" sid="$article[aid]" ></div>
<script type="text/javascript">
(function() {
    var appid = "cytTbjla6";
    var conf = "prod_3aeea31d79efd447e8ef61a7ff76eb40";
    var width = window.innerWidth || document.documentElement.clientWidth;
    if (width < 960) {
        window.document.write("<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=" + appid + "&conf=" + conf + ""><\/script>");
    } else {
        var loadJs = function(d, a) {
            var c = document.getElementsByTagName("head")[0] || document.head || document.documentElement;
            var b = document.createElement("script");
            b.setAttribute("type", "text/javascript");
            b.setAttribute("charset", "UTF-8");
            b.setAttribute("src", d);
            if (typeof a === "function") {
                if (window.attachEvent) {
                    b.onreadystatechange = function() {
                        var e = b.readyState;
                        if (e === "loaded" || e === "complete") {
                            b.onreadystatechange = null;
                            a()
                        }
                    }
                } else {
                    b.onload = a
                }
            }
            c.appendChild(b)
        };
        loadJs("https://changyan.sohu.com/upload/changyan.js",
        function() {
            window.changyan.api.config({
                appid: appid,
                conf: conf
            })
        });
    }
})();
</script>

Discuz external call Code:

<script type="text/javascript" src="http://bbs.sddp.net/api.php?mod=js&bid=495"></script>

at first I thought it was document.write, but if I change the comment code to jquery, I can write js to the page, but the html of the comment still hasn"t come out:

if (width < 960) {
var changyanjs = document.createElement("script");
changyanjs.type = "text/jacascript";changyanjs.id = "changyan_mobile_js";changyanjs.src = "https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=cytTbjla6&conf=prod_3aeea31d79efd447e8ef61a7ff76eb40";
jQuery("-sharpSOHUCS").append(changyanjs)
}

could you tell me where the conflict is? Solve

Nov.05,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea43b0-1cbc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea43b0-1cbc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?