搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Setting default popup window size

  • 3 回覆
  • 3 有這個問題
  • 573 次檢視
  • 最近回覆由 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 於 修改