Firefox扩展元素ID [英] Firefox extension elements id
本文介绍了Firefox扩展元素ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想把一个 menupopup
在Firefox的Web开发人员部分,我需要一个 id
放入 insertafter
属性。你可以看到源代码 browser.xul
以及其包含文件,如 browser-sets.inc
。或者,您可以使用 DOM检查器扩展检查浏览器窗口。
Can someone tell me where can I find the ids of browser elements in Firefox?
I want to put a menupopup
in the web developer section in Firefox and I need an id
to put into the insertafter
attribute.
解决方案
You can see all the IDs in the source code of browser.xul
as well as its include files like browser-sets.inc
. Alternatively, you can inspect the browser window at runtime using the DOM Inspector extension.
这篇关于Firefox扩展元素ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文