Firefox扩展:本地代码执行? [英] Firefox extension: native code execution?
问题描述
编辑:
我开始检查Gecko SDK,这是一个相当大的主题,我不确定这是我想要的。
我会很高兴用一个友好的手册(这不是一个原始的参考,而是一些关于如何使用XPCOM的扩展的教程(如果这是这个方法)好的关键字仍然值得赞赏。
.org / en / Gecko_SDKrel =nofollow noreferrer> Gecko SDK 。您可以使用它制作可移植的C ++原生代码是.xpm zip文件中包含JavaScript封装的XPCOM对象。
我还没有尝试过,但是可以使用通常的路由并编写插件,我的意思是扩展,在JavaScript也。
Is it possible to write an extension that runs native, platform-dependent code? I'm an extension-newbie (what a phrase!) :), can you please point me towards good material on this subject? (good keywords to feed to Google are enough)
(I would like to put a GtkMenu in Firefox)
Edit: I started checking out the Gecko SDK, and it's a rather big subject, and I'm not sure this is what I want.
I'd be happy with a friendly manual (which is not a raw reference, but rather some kind of tutorial on how to make extensions that utilize XPCOM (if that is the way). Good keywords are still appreciated.
Check out the Gecko SDK.
You can use it make portable C++ native code firefox extensions which I believe are XPCOM objects with JavaScript wrappers in the .xpm zip file.
I haven't tried it, but you can go the usual route and write the plugin, I mean extension, in javascript also.
这篇关于Firefox扩展:本地代码执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!