开发者

How to create a global function in Xul?

开发者 https://www.devze.com 2023-01-30 14:37 出处:网络
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 regis

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

精彩评论

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