怎样获取浏览器当前的 url?
資深大佬 : misakawaque 4
比如我浏览器打开一本小说 怎样让我写的应用获取到我浏览器跳转的网址呢
大佬有話說 (12)
比如我浏览器打开一本小说 怎样让我写的应用获取到我浏览器跳转的网址呢
https://github.com/magicdawn/clash-config-manager/blob/649c84aa2c88f486c1df7dca7838150192ab2d38/src/page/library-rule-list/AddRuleModal.tsx#L226-L235
不同的平台,不同的浏览器,操作会完全的不同。
如果是 Windows 的 Chrome,用 UI Automation 是可行的。