Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Custom FireBreath plugin modal window hidding

  • 3 个回答
  • 4 人有此问题
  • 4 次查看
  • 最后回复者为 majan

more options

Hi,

we created a plugin for firefox using FireBreath framework - usable only on windows platforms. In our plugin we exposed some Javascript methods, which are callable from firefox. One of those methods creates instance of COM object with GUI as modal dialog. The problem is that dialog appears behind the firefox window, so when the firefox is in full window, user does not see the custom dialog created by plugin unless pressing alt+tab to switch windows. In firefox version 3.6.3 this works great. In version 4 and 5 the modal dialog shows behind the main firefox window. Tried with google chrome and opera (both accept the same firebreath plugin) and it works - the dialog is always as modal and shows in front of browser. I know this is a uncommon solution, but I need the behavior like activex in internet explorer. Is there any chance to show the modal dialog in front of firefox (series 4 and 5) like in other browsers (chrome, opera, internet explorer)? Many thanks for any response.

Hi, we created a plugin for firefox using FireBreath framework - usable only on windows platforms. In our plugin we exposed some Javascript methods, which are callable from firefox. One of those methods creates instance of COM object with GUI as modal dialog. The problem is that dialog appears behind the firefox window, so when the firefox is in full window, user does not see the custom dialog created by plugin unless pressing alt+tab to switch windows. In firefox version 3.6.3 this works great. In version 4 and 5 the modal dialog shows behind the main firefox window. Tried with google chrome and opera (both accept the same firebreath plugin) and it works - the dialog is always as modal and shows in front of browser. I know this is a uncommon solution, but I need the behavior like activex in internet explorer. Is there any chance to show the modal dialog in front of firefox (series 4 and 5) like in other browsers (chrome, opera, internet explorer)? Many thanks for any response.

所有回复 (3)

more options

Solved....just turn off plugin proxy in about:config for all plugins, or create a separate js file for one plugin a turn off the plugin proxy for that plugin.

more options

What is the exact choice item in about:config to turn off plugin proxy ?? tks !!

由chiahsi.chang于修改

more options

dom.ipc.plugins.enabled turns on/off for all plugins....or can create your custom key like dom.ipc.plugins.xxx.dll to turn on/off this feature.