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

搜索 | 用户支持

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

详细了解

How do I get pop-ups to open in the same screen Firefox is on?

more options

I have 3 monitors at work for the 10-15 programs/windows I need open all day. The problem is that my normal work requires a pop-up from our company's ticketing system, hosted on a website. That pop-up always occurs on the upper left-hand corner of the main display while Firefox is open on the second display. ***I'd like it to open in front of the current Firefox window*** instead of on a completely different display. How can I achieve this?

Before you say "Move Firefox to the main display", I'd like to add that I'm using Citrix for multiple other programs and it has the same annoying habit. I can't have them both on the same display since I need to see them both at once. I'm also trying to find a solution for Citrix doing this. Whichever app gets fixed first gets a home on the second display.

I have 3 monitors at work for the 10-15 programs/windows I need open all day. The problem is that my normal work requires a pop-up from our company's ticketing system, hosted on a website. That pop-up always occurs on the upper left-hand corner of the main display while Firefox is open on the second display. ***I'd like it to open in front of the current Firefox window*** instead of on a completely different display. How can I achieve this? Before you say "Move Firefox to the main display", I'd like to add that I'm using Citrix for multiple other programs and it has the same annoying habit. I can't have them both on the same display since I need to see them both at once. I'm also trying to find a solution for Citrix doing this. Whichever app gets fixed first gets a home on the second display.

所有回复 (5)

more options

Similar question posted Monday (unsolved): How to open new windows on second monitor.

That user's company policy preventing using new software to solve the problem. Do you have any restrictions on possible add-ons or utilities?

more options

In a thread from 2010, a $25 utility was reported to resolve this issue. It seems to work by watching for new windows and then moving them to the correct location. See: https://support.mozilla.org/questions/753176#answer-215567. I haven't tried it myself (I do not have a dual-monitor configuration available for testing).

more options

I definitely cannot purchase and install an unapproved program, however, I might be able to get our ticketing system admin to alter the script for that window.

more options

Hi watsonea4, if the script can be modified, that's great. I would check the features parameter of the window.open() function to see whether left or screenX is used, and try removing it to see whether that helps.

more options

I found a thread on StackOverflow with several proposed methods to keep a popup on the second monitor: How do I get JavaScript to open a popup window on the current monitor - Stack Overflow.