谷歌开发Chrome的插件(没有扩展!) [英] Develop Google Chrome Plugin (no Extensions !)

查看:206
本文介绍了谷歌开发Chrome的插件(没有扩展!)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要开发一个RIA,我需要处理尚未支持的某些计算机硬件。
所以,我认为首先使用Java小程序,但我改变我的选择,我preFER开发用于Web浏览器插件的方式。
我开始寻找一个Chrome的API来开发类似的Flash Player插件(集成在镀铬前)和所有我发现是开发扩展HTML和JavaScript ...不是真的是我想要的!
所以,如果你知道我在哪里可以得到的Chrome API,我真的AP preciate!
感谢由提前和我的英语很差(问我,如果你真的不明白我的答案)

I want to develop an RIA and I need to handle some computer hardware not already supported. So, I think first to use a Java applet but I change my choice and I prefer the way to develop plugins for web browsers. I began to search for a Chrome API to develop plugins like Flash Player (before being integrated in chrome) and all I found was to develop "Extensions" with HTML and Javascript...not really what I wanted ! So if you know where I can get the Chrome API, I would really appreciate ! Thanks by advance and sorry for my poor English ( ask me if you don't really understand my answer )

推荐答案

您的假设,最好的方式来处理不支持的硬件的在浏览器中正确的是一个插件;但你可能会发现一个桌面应用程序是为达到更好的效果。

You are correct in assuming that the best way to handle unsupported hardware in the browser is a plugin; but you might find that a desktop application is better for this purpose.

Flash Player和其他插​​件使用 Netscape浏览器插件API (NPAPI)在Chrome,火狐,Safari浏览器等,的ActiveX 在Internet Explorer中。先从NPAPI最好的地方其实是在Mozilla开发者网络中的插件页面。谷歌也有插件针对Chrome 一些文档。

Flash Player and other plugins use the Netscape Plugin API (NPAPI) in Chrome, Firefox, Safari etc, and ActiveX in Internet Explorer. The best place to start with NPAPI is actually the Plugins page on Mozilla Developer Network. Google also has some documentation on plugins specific to Chrome.

如果你有兴趣开发插件,专门为Chrome,这是值得注意的是,谷歌已经开发出一种新的API被称为辣椒插件API,和Adobe宣布,Flash将会被转移到在某些时候这个API。

If you are interested in developing plugins specifically for Chrome, it's worth noting that Google have developed a new API called the "Pepper Plugin API", and Adobe have announced that Flash will be moving to this API at some point.

这篇关于谷歌开发Chrome的插件(没有扩展!)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆