How can I get the current location URL of Mozilla

2019-07-18 10:49发布

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?

2条回答
Emotional °昔
2楼-- · 2019-07-18 11:28

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.

查看更多
欢心
3楼-- · 2019-07-18 11:28

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

查看更多
登录 后发表回答