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.
所有回覆 (6)
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.
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.
Do mean to say that you want to include html page to your C# program which you get after clicking the see view source?
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.
nope... you can't import html pages like the way you want.
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 於