cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
New Contributor

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

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.

Tags (2)
6 REPLIES
Expert Contributor

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

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.

New Contributor

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

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.

Expert Contributor

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

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

New Contributor

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

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.

Expert Contributor

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

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

Site Moderator

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

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.