.NET Questions (CLOSED)

Questions and Answers on any aspect of .NET. Now closed.

This discussion group is now closed.

Have a question about .NET development? Try stackoverflow.com, a worldwide community of great developers asking and answering questions 24 hours a day.

The archives of .NET Questions contain years of Q&A. Even older .NET Questions are still online, too.

Grabbing the URL from Firefox programmatically

Hi all

wondering if any one of you know how to do this?  I have an application that I want to grab the currently active URL from  Firefox.

I have successfully done this from IE but this seems really tricky for Firefox since they are not using native Windows controls and therefore don't have a handle associated with each control.

Using programs such as Spy++ and WinDowse confirm this.

So, does anyone have any bright ideas on how this can be achieved?  Any pointers would be greatly appreciated.

ABO Send private email
Thursday, January 18, 2007
Tried using a Firefox extension ?
Extensions will have the permissions to invoke APIs to obtain the current URL : http://kb.mozillazine.org/Getting_Current_URL

Of course, to be useful outside Firefox, this code might have to reside in a XPCOM component : http://developer.mozilla.org/en/docs/XPCOM

"If you cant grab it from outside, then go inside."
VR Send private email
Thursday, January 18, 2007
Ouch, that sounds reaaally nasty! :)  But thanks for the suggestion - any simpler ideas please? :)
ABO Send private email
Thursday, January 18, 2007

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz