MCPcopy
hub / github.com/xcanwin/KeepChatGPT / cloneChat

Function cloneChat

KeepChatGPT.user.js:2637–2644  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

2635 克隆对话
2636 */
2637 const cloneChat = function (action) {
2638 cloneChat.firstTarget = null;
2639 if (action === true) {
2640 window.addEventListener("click", cloneChat.listen_Click);
2641 } else {
2642 window.removeEventListener("click", cloneChat.listen_Click);
2643 }
2644 };
2645
2646 const setPromptRichText = function (promptTextarea, contentProseMirror) {
2647 promptTextarea.innerHTML = "";

Callers 2

loadMenuFunction · 0.85
setUserOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected