本文介绍了Google Chrome的简单hello world NPAPI外挂程式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试制作Chrome外挂程式,但Chrome API无法提供足够的电力。我想使用NPAPI,但我不知道如何使用它,但我有Visual C ++的经验。



有人可以告诉我一个'Hello world'

解决方案

注意:Firefox和Chrome都会默认大多数插件,Chrome计划。此时不鼓励新项目的NPAPI。



NPAPI插件不应该是特定于浏览器的(至少尽可能)。 Seamonkey 可以认为NPAPI的基本 Hello World 。如果您关心最新的Mac支持,则需要查看或苹果示例。 p>

阅读资料以开始:




  • - NPAPI的3部分简介

  • - MDC上的NPAPI文档




还有项目:这是一个旨在降低条目的框架浏览器插件开发的障碍,已经照顾最常见的任务和问题。


I am trying to make a chrome plugin but Chrome API doesn't give me enough power. I want to use NPAPI but I have no idea how to use it but I do have experience in Visual C++.

Can someone show me a 'Hello world' in C++ application so I can get started?

解决方案

Note: Both Firefox and Chrome will default most plugins to click-to-play soon, with Chrome planning to phase out NPAPI entirely. NPAPI for new projects is discouraged at this point.

NPAPI plugins shouldn't be browser specific (at least as far as possible). Seamonkeys npruntime sample can be considered a basic Hello World for NPAPI. If you care about up-to-date Mac support, you need to take a look at WebKits or Apples samples.

Reading material to get you started:

There is also the FireBreath project: It is a framework aiming at lowering the entry barrier to browser plugin development and already takes care of most common tasks and issues.

这篇关于Google Chrome的简单hello world NPAPI外挂程式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 17:19