为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 6 个回答
  • 3 人有此问题
  • 8 次查看
  • 最后回复者为 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于修改