开发者

How to create a global function in Xul?

Is there a way of creating a global function in Xul (using javascript, I believed is the only way), such as I could call it 开发者_JS百科from any file of any window?


If you create a component and register it with the JavaScript global privileged property category then it will appear as a global object in every chrome window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜