应用程序集成到浏览器
我正在开发一个简单的下载管理器作为我的项目(C# .NET 4),我想知道如何在此类应用程序中完成浏览器集成。
我尝试搜索但一无所获,可能是因为我不确定我在寻找什么。我希望有人能启发我并解释应用程序如何接管浏览器中的下载。
欢迎提供任何信息,谢谢。
I'm working on a simple download manager as a project of mine (C# .NET 4) and I was wondering how browser integration is done in applications of this sort.
I've tried to search and came up with nothing, probably because I'm not sure what it is I'm looking for. I was hoping someone could enlighten me and explain how application take over downloads in the browser.
Any bit of information would be welcome, thanks.
目前将应用程序集成到浏览器的唯一方法是通过 NPAPI。 http://code.google.com/chrome/extensions/npapi.html
建议使用 C++ 进行开发,因为 C# 没有 NPAPI 标头。我相信 Chrome 很快就会有一个下载扩展 API,这样你就可以在 JavaScript 中完成这一切。
Currently the only way to integrate an application to the browser is through NPAPI. http://code.google.com/chrome/extensions/npapi.html
It would be recommended to develop that in C++ since there are no NPAPI headers for C#. I believe Chrome will soon have a Downloads Extension API so you can do all this in JavaScript.