Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Archived

How do I prevent a website from opening another window

krueger_industrial replied
krueger_industrial

A couple of websites I occasionally visit open up a second window to a spam website. I have put an entry in my Hosts file to prevent Firefox from connecting to the spam websites, so the second window is empty. However, it's still a little annoying.

I have pop-up blocking turned on. Is there anyway to completely block the opening of the second window?

If not, why not?

A couple of websites I occasionally visit open up a second window to a spam website. I have put an entry in my Hosts file to prevent Firefox from connecting to the spam websites, so the second window is empty. However, it's still a little annoying. I have pop-up blocking turned on. Is there anyway to completely block the opening of the second window? If not, why not?

All Replies (2)

Thank you for taking the time to reply. I really do appreciate it.

Unfortunately, the link you posted tells me exactly nothing. My question is "How do I prevent a website from opening unwanted windows". These are full Firefox windows, just like you would get if you right clicked on a link and selected "open in a new window".

There are only two possible answers:

(A) To block unwanted windows, do this ________ (insert answer)

or

(B) It's not possible.

If the answer is (B) then the follow-up question is -- Why Not?