The blocked thinking and response will be displayed on the right interface. 右侧界面会显示输出后被屏蔽的思考和回复内容。
< 腳本Deepseek Chat Monitor的回應
找latestChatNum是否可以考虑改成这样: 这样切换对话时,踩到Cannot find the latest chat就会重新从头找
Cannot find the latest chat
let retries = 1; let element = null; const getSelector = (num) => `#root > div > div.c3ecdb44 > div.f2eea526 > div > div.b83ee326 > div > div > div.dad65929 > div:nth-child(${num})`; while (retries >= 0) { while (true) { const selector = getSelector(latestChatNum); element = document.querySelector(selector); if (!element) { break; } latestChatNum += 2; } latestChatNum -= 2; //console.log(latestChatNum); const selector = getSelector(latestChatNum); element = document.querySelector(selector); if (!element) { console.log('Cannot find the latest chat'); latestChatNum = 2; retries --; if (retries < 0) { return; } //console.log('retry'); } else { break; } }
OK 我知道你的意思
登入以回復
找latestChatNum是否可以考虑改成这样: 这样切换对话时,踩到
Cannot find the latest chat
就会重新从头找