fix: popup.js action->cmd; add disable_dialogs.js with toast; update manifest

This commit is contained in:
Jiaqing Liang
2026-04-07 12:17:18 +08:00
parent b525684378
commit 25fe3e42fd
4 changed files with 33 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ fetch('PDF_URL').then(r=>r.blob()).then(b=>{
## CDP桥(tmwd_cdp_bridge扩展) ⭐首选
扩展路径:`assets/tmwd_cdp_bridge/`(需安装含debugger权限)
⚠TID密钥首次运行自动生成到`assets/tmwd_cdp_bridge/config.js`(已gitignore)扩展通过manifest引用
⚠TID约定标识(非密钥):首次运行自动生成到`assets/tmwd_cdp_bridge/config.js`(已gitignore)扩展通过manifest引用
调用:`web_execute_js` script直传JSON字符串工具层自动识别对象格式走WS→background.js cmd路由
```js
// 直接传JSON字符串作为script参数无需DOM操作