哪些文件用于创建Firefox插件? [英] Where are the docs for creating Firefox addons?

查看:112
本文介绍了哪些文件用于创建Firefox插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图构建一个Firefox插件,但是我根本找不到插件可以访问的内部(Firefox / Gecko)类的文档。或者是标准的DOM操作,所有这些都是可能的?

I'm trying to build a Firefox addon, but I simply cannot find the documentation for the internal (Firefox/Gecko) classes that addons may access. Or is standard DOM manipulation all that's possible?

通过一些插件,我看到很多非标准的JavaScript对象创建,所以我确定有更多的扩展Firefox而不是我的眼睛。

Looking through some addons I see a lot of nonstandard Javascript objects created, so I'm sure there's more to extending Firefox than meets my eye.

   Components.classes["@mozilla.org/network/io-service;1"]

   Components.classes["@mozilla.org/preferences-service;1"]

任何地方我可以得到这些类的列表和它们中的什么?

Anyplace I can get a list of these classes and whats in them?

推荐答案

我终于找到了。 Gecko公开的接口的完整列表可以在Mozilla.org上这里获得,这似乎是权威的,因为下一个链接不包含所有这些。

I found it myself, at last. The full list of interfaces that Gecko exposes is available here, on Mozilla.org, this appears to be authoritative since the next link does not contain all these.

Firefox内置的接口列表(真的是)可用这里在Mozilla开发中心,尽管大多数没有任何文档,重要的(蓝色链接)有一个详细介绍其中的方法和属性的页面。

A list of interfaces built into Firefox (really?) is available here on the Mozilla Dev Center, and although most don't have any documentation at all, the important ones (blue links) have a page detailing the methods and properties within it.

这篇关于哪些文件用于创建Firefox插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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