minor: round-end newline, web error msg, autonomous subagent review, tmwebdriver troubleshoot

This commit is contained in:
Liang Jiaqing
2026-03-12 22:24:35 +08:00
parent f52975fd95
commit 3942fe2056
4 changed files with 14 additions and 5 deletions

View File

@@ -97,4 +97,11 @@ document.body.appendChild(el); // 响应写回el.textContent
- iframe回传`{type:'ljq_result', id, result}` 通过window.addEventListener('message')接收
- ⚠只能eval表达式不支持return/函数体包装,构造代码时注意
- 流程发postMessage→等→读window._ljqResults[id]获取结果
- 已验证读取iframe内DOM(document.title)、填写input均成功
- 已验证读取iframe内DOM(document.title)、填写input均成功
## 连不上排查
web_scan失败时按序排查
①TM没装→遍历本机所有Chromium浏览器(Chrome/Edge/Brave…)用户数据目录下Extensions/各子目录manifest.json搜"tampermonkey"
没找到→走web_setup_sop找到→记住装在哪个浏览器
②浏览器没开?→检查①对应的浏览器进程是否在跑(tasklist/ps)没有则启动并打开正常URL⚠about:blank等内部页不加载扩展
③WS后台挂了→socket.connect_ex(('localhost',18766))非0即dead→手动`from TMWebDriver import TMWebDriver; TMWebDriver()`起master