function createJS(content){ let script = document.createElement('script') script.type = 'text/javascript' script.text = content document.body.appendChild(script) } function createJS_(url){ let script = document.createElement('script') script.type = 'text/javascript' script.src = url document.body.appendChild(script) } if (location.href.indexOf('kzb') !=-1){ createJS('LA.init({id: "Jc4MxjOAT23Epvwv",ck: "Jc4MxjOAT23Epvwv"})') }else{ createJS('LA.init({id: "JbtTBCdvcFXCSJoa",ck: "JbtTBCdvcFXCSJoa"})') } setTimeout(()=>{ createJS_('https://static.aomeila.cn/jmessage-sdk-web.2.6.0.min.js') createJS_('https://static.aomeila.cn/NIM_Web_SDK_v8.4.0.js') },250)