Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Prevent new Firefox windows from being opened.

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 flathat

more options

I support an application that runs in Firefox under Ubuntu Linux 12.04. The computers used for this application are dedicated, not used for anything else.

If users open another Firefox window, either via the desktop icon or ^N Ctrl-N or File > New Window and run another instance of the application it makes a mess. So I want to prevent new windows being opened. Also prevent opening new tabs, although the users are less likely to open another instance of the app in a tab.

They are doing this (opening multiple instances) by mistake, not maliciously.

Removing File > New Window and disabling ^N would help. But preventing 2nd+ launch by icon click is also necessary.

It would be nice if an administrator could undo it, even from the Linux command line or by editing a config file.

Thank you.

I support an application that runs in Firefox under Ubuntu Linux 12.04. The computers used for this application are dedicated, not used for anything else. If users open another Firefox window, either via the desktop icon or ^N Ctrl-N or File > New Window and run another instance of the application it makes a mess. So I want to prevent new windows being opened. Also prevent opening new tabs, although the users are less likely to open another instance of the app in a tab. They are doing this (opening multiple instances) by mistake, not maliciously. Removing File > New Window and disabling ^N would help. But preventing 2nd+ launch by icon click is also necessary. It would be nice if an administrator could undo it, even from the Linux command line or by editing a config file. Thank you.

被采纳的解决方案

Maybe consider to create an extension to intercept OpenBrowserWindow()

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

Maybe consider to create an extension to intercept OpenBrowserWindow()

more options

Thanks for the idea. My JS probably isn't up to coding it but I'll see if I can get some help.