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!

搜索 | 用户支持

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

详细了解

Setting default popup window size

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

more options

I need a way to set the default popup window size on a particular domain or on all domains (whichever is easier). There is a particular site which pulls up a PDF in a popup window, and it always defaults to a small window, but I need it fullscreen. Aside from the obvious "just click the fullscreen button every time", can anyone offer me some suggestions? If it was me, I would be fine just hitting the fullscreen button, but I'm trying to configure it for some fairly finicky end users. The device in question (if it matters) is a Dell XPS 18 tablet, and the version of Firefox is 24.0, just installed about twenty minutes ago. Searching the forums, the only thing I found remotely close to what I'm looking for is to force the popup to allow resizing; this is not what I need; the popup already allows resizing. I need a way to make it automatically open fullscreen. Thanks in advance for your help.

I need a way to set the default popup window size on a particular domain or on all domains (whichever is easier). There is a particular site which pulls up a PDF in a popup window, and it always defaults to a small window, but I need it fullscreen. Aside from the obvious "just click the fullscreen button every time", can anyone offer me some suggestions? If it was me, I would be fine just hitting the fullscreen button, but I'm trying to configure it for some fairly finicky end users. The device in question (if it matters) is a Dell XPS 18 tablet, and the version of Firefox is 24.0, just installed about twenty minutes ago. Searching the forums, the only thing I found remotely close to what I'm looking for is to force the popup to allow resizing; this is not what I need; the popup already allows resizing. I need a way to make it automatically open fullscreen. Thanks in advance for your help.

被采纳的解决方案

In case you are interested in the tab setting I mentioned, the method for setting that is in this earlier post: https://support.mozilla.org/en-US/questions/968159#answer-469644

定位到答案原位置 👍 0

所有回复 (3)

more options

That window size might be specified in the site's script. I'm not aware of a built-in option to override dimensions specified in that way; you might need an add-on to do it (or to automatically resize the window after it opens).

One workaround would be to force the PDF into a new tab instead of a new window. Would that be useful to you? (This assumes you already have new windows diverted to tabs and it's just a few that don't divert now.)

more options

选择的解决方案

In case you are interested in the tab setting I mentioned, the method for setting that is in this earlier post: https://support.mozilla.org/en-US/questions/968159#answer-469644

more options

That is very helpful, thank you. Yes, I have it defaulted to open a new tab, but this window must override that default. This is probably the best solution. I briefly explored the add-on route, but I didn't find anything; perhaps I would find one if I spent some more time searching.

由sdoylehanson于修改