Web Browsers

How to Stop Notification Spam in Your Browser

Remove unwanted website pop-up alerts on desktop and phone, block future requests, and spot the tricks that get people to click Allow.

Key takeaways

  • Most browser "virus alerts" are web push notifications from a site that was granted permission, and revoking that permission stops them.
  • Each browser and device keeps its own list of allowed sites, so check every one you use, including your phone.
  • You can set the browser to block notification requests entirely, then allow the few services you truly need.
  • If alerts or pop-ups continue after permissions are removed, look for an unwanted extension or program.

If alerts about viruses, prizes or adult content keep sliding into the corner of your screen, a website almost certainly has permission to send you notifications. To stop them, open your browser's notification settings, find the sites listed as allowed, and remove or block every one you don't recognize and want. The alerts stop right away.

These messages can look like warnings from your computer or security software. In most cases nothing is installed and nothing is infected: you, or someone using your device, clicked Allow on a page that asked.

How a website gets to notify you

A site can ask the browser to show a permission prompt. If you click Allow, the site registers a background script and subscribes your browser to a push service run by the browser or platform maker. From then on, the site's server can send messages through that service even when the page is closed.

How a web push notification reaches you
Your browser Push service Website server You visit and click Allow 1 Browser creates a subscription 2 Site stores the subscription address 3 Later: send this message 4 No open tab is needed Message delivered 5 Clicking the alert opens a page 6 Your browser Push service Website server You visit and click Allow 1 Browser creates a subscription 2 Site stores the subscription address 3 Later: send this message 4 No open tab is needed Message delivered 5 Clicking the alert opens a page 6

The important point for cleanup is that the permission lives in your browser. Closing the tab, restarting the computer or clearing history won't necessarily remove it. Revoking the permission will.

Tell a notification apart from a real system alert

Where the message appears and how it behaves give it away. A web notification arrives in your operating system's usual notification area, so it borrows the system's styling. Look for the details underneath the headline:

  • A small line naming a web address or your browser.
  • A title that imitates a security product, a delivery company or a chat message from a stranger.
  • Urgent wording with a countdown, an infection count or a demand to act now.
  • A click that opens your browser instead of an app you installed.

Your real antivirus program and operating system report problems inside their own windows, which you can open yourself from the Start menu, Applications folder or Settings. If an alert worries you, ignore its button and open the security app directly. If it shows nothing wrong, the alert was advertising dressed up as a warning.

Also check the notification history or center on your device. It usually groups messages by the app that delivered them. When dozens are grouped under your browser, the browser's permission list is where the cleanup happens.

Tricks that get people to click Allow

Spam operators rarely ask honestly. Common bait includes:

  • A fake robot check reading "Click Allow to prove you're human."
  • A video player that claims you must press Allow to start playback.
  • A download page that says Allow is needed to get the file.
  • An age gate or prize wheel with the same instruction.
  • A page that redirects you to a new address each time you click Block.

No legitimate verification, video or download needs notification permission. The browser's prompt says what it is granting; read that box and ignore the page's description of it. When in doubt, close the tab.

Remove permissions on a computer

Find the sender first. Many notifications show the website's address in small text, often near the browser's name. Then follow the path for your browser. Labels shift between versions, so use the settings search box for "notifications" if something has moved.

Browser Typical path
Chrome Settings, Privacy and security, Site settings, Notifications
Edge Settings, site permissions section, Notifications
Firefox Settings, Privacy & Security, Permissions, Notifications, Settings
Safari on Mac Safari Settings, Websites, Notifications

In the list of allowed sites, remove anything unfamiliar. Unfamiliar addresses are often random strings of letters or names that sound like security or news services you never signed up for. Choosing Block is better than only removing the entry, because the site can't prompt you again.

Many alerts also offer a settings button or menu on the notification itself, which jumps straight to that site's permission.

Remove permissions on a phone or tablet

On Android, open Chrome's menu, go to Settings, then Site settings or Notifications, and review the allowed sites. You can also press and hold a notification as it arrives to turn off alerts from that site. Other Android browsers have a similar screen.

On iPhone and iPad, ordinary browser tabs don't send web push; it comes from sites you added to the Home Screen and then allowed. Open the system Settings app, go to Notifications, find the web app's name and switch it off, or delete the icon. If you see unwanted events appearing in your calendar, that is a different trick involving a calendar subscription, which you remove in calendar account settings.

Stop sites from asking at all

Once the bad entries are gone, decide how future requests should behave. In the same settings screen you can usually choose to block all notification requests or to show them quietly as a small address bar icon.

Blocking all requests suits most people. When you want alerts from a webmail or chat service, add it as an exception. If you are setting up a computer for someone who tends to click through prompts, this one change prevents the whole category of problem.

Also check your operating system. Windows, macOS, Android and iOS each have notification settings where you can silence a browser completely. That is a blunt tool, since it also mutes legitimate sites, but it works as a stopgap while you sort out the list. For other permissions worth reviewing at the same time, see the guide to camera, microphone, location and notifications.

Verify that the cleanup worked

Close and reopen the browser, then look at the allowed list once more. It should contain only services you can name. Wait through the rest of the day. A message that was already queued may appear once, but a revoked site can't keep delivering new ones.

If you are helping someone remotely, ask them to read the address in small text on the next alert, or to send a photo of the settings list. Guessing at which entry is guilty is unnecessary: removing every site they don't recognize is safe, because a legitimate service can simply ask again the next time they use it.

Make a short note of what you allowed on purpose, such as webmail, a calendar or a team chat. Next time you review the list, anything outside that note is easy to spot. For households, repeat the check on each person's account, because permissions granted under one operating system user or browser profile don't appear under another.

When the alerts keep coming

If you have removed the permissions and pop-ups continue, work out what kind of thing you're seeing.

What is still showing the pop-ups?
Does the alert name a website in your browser? YES Recheck that browser's allowed list, and every other browser and profile. 1 NO Do new tabs or redirects open on their own? YES Disable extensions one by one and check your startup and search settings. 2 NO Does it appear with all browsers closed? YES Look for an unfamiliar installed app and run a security scan. 3 NO It may be a page, not a notification A full-screen warning is usually a tab. Close it or force quit the browser. Does the alert name a website in your browser? 1 IF YES Recheck that browser's allowed list, and every other browser and profile. NO Do new tabs or redirects open on their own? 2 IF YES Disable extensions one by one and check your startup and search settings. NO Does it appear with all browsers closed? 3 IF YES Look for an unfamiliar installed app and run a security scan. NO It may be a page, not a notification A full-screen warning is usually a tab. Close it or force quit the browser.

An extension can create notifications of its own, and removing site permissions won't touch it. Follow an extension audit to find it. If your home page or search engine also changed, you may be dealing with a browser hijacker.

Check other browser profiles too, since each has its own permission list. If sync is on, a removed permission or extension may or may not carry across devices, so verify each one.

If you clicked an alert or called a number

Clicking a spam notification just opens a web page. Close it without entering anything. The risk rises with what you did next:

  1. Entered a password: change it on the real site, and anywhere else you used it.
  2. Paid by card: contact your card issuer using the number on the card.
  3. Downloaded and ran a file: disconnect, run a full security scan and consider professional help.
  4. Called a number and allowed remote access: disconnect from the internet, uninstall the remote tool, change passwords from a different device and watch your accounts.

Fake security alerts are a front door for tech support scams, and the steps after clicking a bad link apply here too. Real security software doesn't ask you to phone a number shown in a pop-up.

Keep it from coming back

A few habits prevent a repeat. Treat any page that instructs you to click Allow as hostile. Review your allowed list every few months. Be cautious on free streaming, file download and link shortener pages, where these prompts cluster. Keep the browser updated, since browser makers have been adding protections such as quieter prompts and automatic removal of permissions from sites you no longer visit, though which of these you have depends on your version.

For site owners, the lesson runs the other way: ask for permission only after a visitor requests an alert, say what you'll send and how often, and make unsubscribing obvious. A prompt on first page load mostly teaches people to click Block.

Common questions

Will clearing my cache stop the notifications?

Clearing cached files won't. Clearing all site data may remove subscriptions in some browsers, but it also signs you out everywhere. Editing the notification list is precise and safer.

Is my computer infected?

Usually not, if the alerts name a website and stop once you revoke permission. Investigate further if they continue, if settings changed by themselves, or if unfamiliar programs appeared.

Can a notification install something on its own?

Showing a notification doesn't install software. The danger is the page it opens and what that page persuades you to do.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Web Browsers →

Latest news on this topic