This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

All Replies (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.