Page 1 of 1

Get URL of Firefox page?

Posted: Wed Aug 18, 2004 5:10 am
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.

Posted: Wed Aug 18, 2004 12:00 pm
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.

Posted: Wed Aug 18, 2004 12:04 pm
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

Posted: Wed Aug 18, 2004 12:15 pm
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.