💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
~~~ function addCopyright() { var a = "</br>作者:" + $author + "</br>链接:" + location.href + "</br>来源:慕课网</br>" + $original; if ("undefined" != typeof window.getSelection) { var c = document.getElementsByTagName("body")[0] , g = window.getSelection() , h = document.createElement("div"); h.style.position = "absolute", h.style.left = "-99999px", c.appendChild(h), h.appendChild(g.getRangeAt(0).cloneContents()), "PRE" == g.getRangeAt(0).commonAncestorContainer.nodeName && (h.innerHTML = "<pre>" + h.innerHTML + "</pre>"), h.innerHTML += a, g.selectAllChildren(h), window.setTimeout(function() { c.removeChild(h) }, 200) } } ~~~