Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to disable pop-ups?

To disable pop-ups, turn on the browser's built-in pop-up blocker. In Chrome, Firefox, Edge, and Safari this setting stops unwanted pop-up windows and forced redirects, and it is enabled by default in every one of them. If pop-ups are getting through, the blocker has been switched off, a site is on the allow list, or what you are seeing is actually a notification prompt rather than a pop-up window. The current 2026 steps for each browser and device are below.

Pop-up Windows vs Notification Prompts

Before changing any setting, identify what you are actually blocking. The native pop-up blocker only governs the surfaces below:

  • Pop-up windows: a new browser window or tab that a site opens without you clicking, often an ad or an offer. This is what the pop-up blocker stops.
  • Redirects: a click or page load that silently forwards you to a different, usually unwanted, URL. Modern blockers cover this alongside pop-ups.
  • Notification prompts: the "This site wants to show notifications" bar is a separate permission, not a pop-up window. To stop those, see How to Block Ad Notifications on Chrome? and How to Stop Popup Notifications on Android?.
  • In-page overlays: newsletter modals and cookie banners are part of the page's own HTML and the blocker cannot remove them. An ad-blocker extension is the usual fix.

Block Pop-ups in Google Chrome (Desktop)

  • Open Chrome and click the three-dot menu in the top-right corner.
  • Select Settings, then choose Privacy and security from the left sidebar.
  • Click Site settings, then scroll to Pop-ups and redirects under the Content section.
  • Choose "Don't allow sites to send pop-ups or use redirects" to block them everywhere.
  • To block a single site you previously allowed, find it under "Allowed to send pop-ups," click its More menu, and choose Block.

You can jump straight to this screen by typing chrome://settings/content/popups into the address bar.

Block Pop-ups in Chrome on Android

  • Open the Chrome app and tap the three-dot menu in the top-right corner.
  • Tap Settings, then tap Site settings.
  • Tap Pop-ups and redirects.
  • Toggle the setting off so the indicator reads "Blocked." Android Chrome blocks pop-ups whenever this switch is off.

Block Pop-ups in Mozilla Firefox

  • Open Firefox and click the three-line menu in the top-right corner.
  • Select Settings, then choose Privacy & Security from the left sidebar.
  • Scroll to the Permissions section.
  • Make sure Block pop-up windows is checked. It is enabled by default, so you are simply confirming it is on.
  • Click Exceptions beside it to allow pop-ups only on specific trusted sites without disabling the blocker globally.

Block Pop-ups in Microsoft Edge

  • Open Edge and click the three-dot menu in the top-right corner.
  • Select Settings, then choose Cookies and site permissions from the left sidebar.
  • Scroll down and click Pop-ups and redirects.
  • Turn the Block (recommended) toggle on.
  • To allow only a trusted site, add its URL under "Allowed to send pop-ups and use redirects."

The shortcut edge://settings/content/popups opens this page directly.

Block Pop-ups in Safari on Mac

  • Open Safari and click Safari in the menu bar, then choose Settings (called Preferences on older macOS).
  • Go to the Websites tab.
  • Select Pop-up Windows in the left panel.
  • Set "When visiting other websites" to Block and Notify to be alerted when a pop-up is stopped, or Block to silence them entirely.

Block Pop-ups in Safari on iPhone & iPad

  • Open the Settings app.
  • Tap Apps, then tap Safari (on older iOS versions, tap Safari directly in the main Settings list).
  • Under the General section, turn on Block Pop-ups.
  • Note that iOS does not offer per-site control, so the blocker applies to every website you visit in Safari.

Quick Reference: Where the Setting Lives

Browser / DevicePath to block pop-ups
Chrome (desktop)Settings → Privacy and security → Site settings → Pop-ups and redirects → Don't allow
Chrome (Android)Settings → Site settings → Pop-ups and redirects → off
Firefox (desktop)Settings → Privacy & Security → Permissions → Block pop-up windows (checked)
Edge (desktop)Settings → Cookies and site permissions → Pop-ups and redirects → Block on
Safari (Mac)Safari → Settings → Websites → Pop-up Windows → Block and Notify
Safari (iPhone / iPad)Settings → Apps → Safari → Block Pop-ups on

Extra Layers and Troubleshooting

  • Use an ad-blocker extension: tools like uBlock Origin or AdGuard add a second filter that catches scripted overlays and sticky banners the native blocker ignores. Treat them as a complement, not a replacement.
  • Check the allow list: if pop-ups appear on one specific site, you probably clicked an "Allow pop-ups" prompt there earlier. Remove the site from the allowed list in that browser's pop-up settings.
  • Rule out notification prompts: a recurring "wants to show notifications" bar is a permission, not a pop-up. Revoke it under the browser's Notifications settings.
  • Scan for malware: pop-ups that appear even with all browsers closed often come from adware or a rogue extension. Run an anti-malware scan and review your installed extensions.
  • Keep the browser updated: an out-of-date browser can miss newer pop-up and redirect techniques, so install the latest version.

Why Test Pop-up Behavior Across Browsers

Each engine treats pop-ups slightly differently. Chrome and Edge share Chromium logic, Firefox uses Gecko, and Safari relies on WebKit, so a legitimate pop-up such as a payment window, a print dialog, or a single sign-on flow can open in one browser and be silently blocked in another. If you ship a web app, you need to confirm that the blocker stops nuisance pop-ups without breaking the pop-ups your product genuinely depends on.

Rather than juggling multiple machines and devices, you can verify this behavior across a wide range of browser and OS combinations from a single dashboard. Running the same flow on Chrome, Firefox, Edge, and Safari, plus real iPhone and Android devices, surfaces pop-up handling differences before your users hit them, which is exactly the kind of cross-browser validation a cloud testing platform like TestMu AI (Formerly LambdaTest) is built for.

Frequently Asked Questions

Is blocking pop-ups the same as disabling the pop-up blocker?

No, they are opposite actions. Blocking pop-ups means turning the built-in blocker on so unwanted windows and redirects are stopped. Disabling the blocker turns that protection off so sites can open pop-ups. This page covers blocking; if you instead need pop-ups to open, see the guide on How to Enable Popups?.

Why do I still see pop-ups after turning on the blocker?

The native blocker only stops browser pop-up windows and redirects. What you are seeing may be a notification permission prompt, an in-page overlay served by the website itself, or a site you previously added to the allow list. Remove the site from the allowed list, and use an ad-blocker extension or an anti-malware scan for overlays the browser cannot intercept.

How do I block pop-ups in Safari on an iPhone?

On current iOS and iPadOS, open Settings, tap Apps, tap Safari, then turn on Block Pop-ups under the General section. On older iOS versions the path is Settings then Safari then Block Pop-ups. iOS does not offer per-site control, so the blocker applies to every website.

Is the pop-up blocker on by default?

Yes. Chrome, Firefox, Edge, and Safari all ship with pop-up blocking enabled by default. You usually only need these steps if a previous change or an extension turned it off, or if you allowed pop-ups on specific sites and want to revoke that permission.

Do extensions block pop-ups that the browser misses?

Often, yes. Ad-blocking extensions such as uBlock Origin or AdGuard add a second filtering layer that can catch in-page overlays, sticky banners, and scripted pop-ups the native blocker ignores. They are not a replacement for the built-in blocker but a complement to it.

Will blocking pop-ups break legitimate site features?

Sometimes. Banking portals, print dialogs, and single sign-on flows occasionally rely on legitimate pop-ups. Rather than disabling the blocker globally, add only the trusted site to the browser's allow list, which is why testers verify pop-up behavior across browsers before shipping.

Related Questions

Test Your Website on 3000+ Browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests