搜尋 Mozilla 技術支援網站

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

了解更多

How to Get HTML content of the currently open tabs in Firefox on windows 7(desktop) in .net C# windows application?

  • 6 回覆
  • 3 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

We are making an .net windows app in c#. so we need to get the HTML of all the currently open firefox tabs in our application. Can you please advise or suggest any plugin or any way we can connect our .net application to Mozilla firefox to get the HTML of the web pages currently open in the users Firefox window.

Our aim is to get the HTML of the web pages from Firefox of currently open tabs.

We are making an .net windows app in c#. so we need to get the HTML of all the currently open firefox tabs in our application. Can you please advise or suggest any plugin or any way we can connect our .net application to Mozilla firefox to get the HTML of the web pages currently open in the users Firefox window. Our aim is to get the HTML of the web pages from Firefox of currently open tabs.

所有回覆 (6)

more options

you can get html of currently opened tabs by going to every page and do (right click + view source page) . you can't get all of them at one place.

more options

I know that i need the HTML document in my c# application that going to run in the background of windows, no user interaction will be there.

more options

Do mean to say that you want to include html page to your C# program which you get after clicking the see view source?

more options

Yes, means like suppose if Firefox is running on my machine and in that my mail Inbox is open "https://mail.google.com/mail/u/0/?shva=1#inbox" then from my c# application i want this page HTML document or the view source content in my application.

more options

nope... you can't import html pages like the way you want.

more options

Try to ask advice at the MozillaZine "Mozilla Development forum".

You need to register at the MozillaZine forum site in order to post at that forum.


由 cor-el 於 修改