Asking for Firefox data from external application
Hello Support, I am working on the development of a Windows Application (C++, GUI, MFC, Visual Studio 2019 Community). Just a hobby, nothing serious. At a certain point I would like my App to get the URL of an already running Firefox window. I already can get the Window Title of the Firefox Window, but not the URL of the page currently being displayed in that window. I believe the way to do this would be to somehow connect to the process of the Firefox Window, and ask Firefox to provide the current URL. A thorough webserch led me to some old solutions using DDE, but these seem to be no longer supported and discouraged. Could you please point me towards any developer documentation or Firefox Developer Forum where I could learn how to do this with the recent releases of Firefox!
Regards, Keve Nagy * Debrecen * Hungary
Обране рішення
Try to ask advice at the Mozilla Discourse Add-ons forum.
Читати цю відповідь у контексті 👍 1Усі відповіді (2)
Вибране рішення
Try to ask advice at the Mozilla Discourse Add-ons forum.
cor-el írta
Try to ask advice at the Mozilla Discourse Add-ons forum.
That link points to the Add-On developer's forum, which is not appropriate in my case as my programming work has nothing to do with Firefox Add-Ons. However, this helped me to locate the appropriate Firefox Developer forums. These look promising enough to try: https://discourse.mozilla.org/c/firefox-development/178 https://discourse.mozilla.org/c/developer-community/215 https://discourse.mozilla.org/c/mdn/236
I much appreciate the useful and quick answer. ;-)
Regards, Keve Nagy * Debrecen * Hungary