Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 获取 Firefox URL?
我在开发 Windows 应用程序以获取运行 Mozilla Firefox 浏览器的当前 URL 时遇到问题。是否可以获得 Mozilla Firefox 浏览器的活动 URL?
您可以尝试使用辅助功能 API 来读取地址栏。
Mozilla 0.x/1.x、Netscape 6.x/7.x 和 SeaMonkey 1.x/2.x 通过将当前 URL 发布到窗口中的隐藏编辑控件,使您更容易做到这一点。
moz=DDE&&||ui 偷看
IE=com
Moz Beware:标签式浏览无法判断当前打开了哪些 url,您只能轮询/监视 windows url