This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 6 replies
  • 3 have this problem
  • 7 views
  • Last reply by 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.

All Replies (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.


Modified by cor-el