Discussion:
Get current URL from topmost browser window (IE or Mozilla beasts)
(too old to reply)
robert
2007-07-21 14:03:25 UTC
Permalink
For a hot key import function of a tool I want to get the current
URL from the topmost browser window - or from all browser windows
(IE and Mozilla beasts would do 99%). Is there any chance?

Robert
Chris Mayer
2020-11-14 22:24:58 UTC
Permalink
Post by robert
For a hot key import function of a tool I want to get the current
URL from the topmost browser window - or from all browser windows
(IE and Mozilla beasts would do 99%). Is there any chance?
Robert
13 years later, and I need to do the same thing in C++ on WIndows with Chrome browser. Anyone solve this yet? Thanks in advance!
JJ
2020-11-15 07:51:15 UTC
Permalink
Post by Chris Mayer
Post by robert
For a hot key import function of a tool I want to get the current
URL from the topmost browser window - or from all browser windows
(IE and Mozilla beasts would do 99%). Is there any chance?
Robert
13 years later, and I need to do the same thing in C++ on WIndows with
Chrome browser. Anyone solve this yet? Thanks in advance!
That's the disadvantage of being cross platform.
Christian Astor
2020-11-26 11:45:57 UTC
Permalink
Post by Chris Mayer
Post by robert
For a hot key import function of a tool I want to get the current
URL from the topmost browser window - or from all browser windows
(IE and Mozilla beasts would do 99%). Is there any chance?
Robert
13 years later, and I need to do the same thing in C++ on WIndows with Chrome browser. Anyone solve this yet? Thanks in advance!
It works with IUIAutomation interface
(use Inspect tool from MS SDK to see the hierarchy of controls, which
changed between versions)

Loading...