dsh-browser-takeover

浏览器网址接管:维护一份「要登录的网址」清单(只存网址与添加时间,不存账号密码),访问前先回答这条地址在不在清单里;按该站点的会话 cookie 名字判断调试浏览器此刻是否已登录(确定/可能/未登录,_gh_sess 这类匿名 cookie 不计),在带调试端口的浏览器里打开清单中的地址,并按可见文字点击一个元素(会搜索所有 iframe)。一次调用最多点一个元素,不做批量爬取。

插件介绍

浏览器网址接管:维护一份「要登录的网址」清单(只存网址与添加时间,不存账号密码),访问前先回答这条地址在不在清单里;按该站点的会话 cookie 名字判断调试浏览器此刻是否已登录(确定/可能/未登录,_gh_sess 这类匿名 cookie 不计),在带调试端口的浏览器里打开清单中的地址,并按可见文字点击一个元素(会搜索所有 iframe)。一次调用最多点一个元素,不做批量爬取。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:L1818346/dsh-browser-takeover

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。