阅读thedocumentationZopim(又名ZendeskChat):APIcallsmustbeinsertedaftertheLiveChatScriptandwrappedwithin$zopim(function(){...})所以我在HTML的head部分有一个Zopim脚本:/**/然后我在HTML文档的末尾添加了这个:$zopim(function(){$zopim.livechat.setName('Loggedinname');$zopim.livechat.setEmail('user@somewhere.com');});控制台说:$zopimisnotd