[英]alternative to panel in firefox extension
在firefox扩展中,除了“ panel”之外,还有其他替代方法吗?我想在firefox附加组件中显示弹出窗口,也想使用对服务器的GET请求填充它,但无法访问htm id的id元素在那,为什么我每次使用firefox扩展名时都无法识别“文档”
You can put an iframe
in the panel. 您可以在面板中放置iframe
。 Then load into the iframe
. 然后加载到iframe
。 For example: https://gist.github.com/Noitidart/9445992 例如: https : //gist.github.com/Noitidart/9445992
just add an iframe to that panel 只需将iframe添加到该面板
Other option is to make a window
: How to insert xul panel so doesn't minimize with window 另一种选择是制作一个window
: 如何插入xul面板以使窗口不最小化
edit: or use addon sdk panels which has the iframe automatically 编辑:或使用自动具有iframe的插件SDK面板
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.