How can I get the current location URL of Mozilla browser using C#? [duplicate]

我是研究僧i 提交于 2020-01-04 05:21:12

问题


Possible Duplicate:
Get Firefox URL?

I am facing a problem while developing my Windows application for getting current URL of running Mozilla Firefox browser. Is it possible to get active URL of Mozilla Firefox browser?


回答1:


You could try using the accessibility APIs to read the location bar.

Mozilla 0.x/1.x, Netscape 6.x/7.x and SeaMonkey 1.x/2.x make this easier for you by posting the current URL to a hidden edit control in the window.




回答2:


moz=DDE&&||ui peeking

IE=com

Moz Beware:Tabbed browsing makes it impossible to tell which urls are currently open, you can only poll/monitor a windows url



来源:https://stackoverflow.com/questions/1107978/how-can-i-get-the-current-location-url-of-mozilla-browser-using-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!