搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Asking for Firefox data from external application

  • 2 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 firefox2108

more options

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

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)

more options

選擇的解決方法

Try to ask advice at the Mozilla Discourse Add-ons forum.

more options

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