How can I completely block all pop-ups in my browser?
Asked by
puddle_jumper
I've noticed that while most browsers have pop-up blockers, they still let some pop-ups through when they think I triggered them myself. This can be super annoying, especially when clicking a button causes ads to open in new windows. Is there a way to completely stop all pop-ups, regardless of whether I've clicked anything or not?
Answers
If you're comfortable with some coding, you can disable the window.open function in the console with `window.open = console.log`. This effectively prevents any pop-ups from appearing.
Reply to this answer
If you're looking for a browser with a strong built-in blocker, you should definitely check out Brave. It does a fantastic job at blocking ads and pop-ups.
Reply to this answer
Just a heads up, completely blocking all pop-ups might prevent certain features from working, like OAuth logins where you sign in with Google or Facebook.
Reply to this answer
You could try using UBlock Origin. Thereโs an option called 'Click to block all popups on this site' that works really well on those tricky sites. Are you already using UBO?
Reply to this answer
If youโre on a PC or laptop, consider setting up a private DNS like AdGuard. This can block almost everything, including most YouTube video ads. There's also Firefox with uBlock Origin for mobile users.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions