Get URL of Firefox page?

Just starting out? Need help? Post your questions and find answers here.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Get URL of Firefox page?

Post by PB »

Some time ago I needed to get the URL of an Internet Explorer page, and the
tip by Justin at viewtopic.php?t=4478 worked
great. However, I am unable to adapt it to getting the URL of a Firefox page.

This seems to be a hard problem to solve, as the suggestion here doesn't work:
http://forums.devshed.com/t161991/s.html

Does anyone have any ideas? Parsing the MozillaWindowClass and its child
windows (with EnumChildWindows) doesn't find any Edit or Combo classes.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

The url field of firefox is no Edit control. firefox doesn't use the windows
controls, to be better portable. I don't know how to access that string then.
quidquid Latine dictum sit altum videtur
Shopro
Enthusiast
Enthusiast
Posts: 148
Joined: Tue May 13, 2003 8:05 am

Post by Shopro »

Just a comment,

I was pretty annoyed when my usually functional password(*****) retriever couldn't read a password I forgot in a Firefox password form...

But again, that *is* better security-wise :)

-Kenji
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> firefox doesn't use the windows controls, to be better portable.

I see. I'll work something out. :) This isn't going to beat me.
Post Reply