August 14, 2021

How to Block Pop-ups in Safari on Mac

How to Block Pop-ups in Safari on Mac

Pop-ups that appear while surfing online can be extremely distracting and annoying. These can be used either as a form of advertising or, more dangerously, as a phishing scam. Usually, pop-ups slow down your Mac. In the worst-case scenario, a pop-up makes your macOS vulnerable to attacks by virus/malware, when you click on it or open it. These often block content and make viewing web pages a very frustrating affair. Many of these pop-ups include lewd imagery and text that is not suitable for young children who happen to use your Mac device as well. Quite evidently, there are more than enough reasons why you would want to stop pop-ups on Mac. Luckily, Safari enables you to do just that. This article will guide you on how to block pop-ups on Mac and how to enable Safari pop-up blocker extension. So, continue reading.

How to Block Pop-ups in Safari on Mac

How to Block Pop-ups in Safari on Mac

Before we learn how to block pop-ups on Mac, we must know the version of Safari being used on the device. Safari 12 is most commonly used on macOS High Sierra and higher versions, whereas Safari 10 and Safari 11 are being used on earlier versions of macOS. The steps to block pop-ups on Mac vary for the two; thus, make sure to implement the same according to the Safari version installed on your macOS device.

Click here to download the latest version of Safari on your Mac.

How to Block Pop-ups on Safari 12

1. Open Safari web browser.

2. Click Safari from the top bar, and click Preferences. Refer given pic.

Click Safari from the top bar, and click Preferences | How to Block Pop-ups on Mac

3. Select Websites from the pop-up menu.

4. Now, click on Pop-Up Windows from the left panel to view a list of active websites.

Click on Pop-Up Windows from the left panel

5. To block pop-ups for a single website,

  • either select Block to block the chosen website directly.
  • Or, select Block and Notify option.

from the drop-down menu next to the desired website.

Note: If you choose the latter, you will be briefly notified when a pop-up window is blocked with Pop-up Window Blocked notification.

6. To block pop-ups for all websites, click on the menu next to When visiting other websites. You will be presented with the same options, and you can select either of these at your convenience.

Also Read: How to Disable Split Screen in Safari

How to Block pop-ups on Safari 11/10

1. Launch Safari browser on your Mac.

2. Click on Safari > Preferences, as shown.

Click Safari from the top bar, and click Preferences | How to Block Pop-ups on Mac

3. Next, click Security.

4. Lastly, check the box titled Block pop-up windows.

How to Block pop-ups on Safari 11 or 10

This is a quick and easy way to block pop-ups on Mac to make your web browsing experience better as this will block all succeeding pop-ups.

Also Read: How to Clear Browsing History in Any Browser

How to Enable Safari Pop-up Blocker Extension

Safari offers a wide range of extensions such as Grammarly, Password Manager, Ad Blockers, etc. to enhance your browsing experience. Click here to learn more about these extensions.

Alternately, you can utilize Terminal App to block pop-ups in Safari on Mac. This method remains the same for macOS running Safari 12, 11, or 10. Here are the steps to enable Safari pop-up blocker extension:

1. Search Utilities in Spotlight Search.

2. Click on Terminal, as depicted below.

Click on Terminal | How to Block Pop-ups on Mac

3. Here, type the given command:

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool false

This will enable Safari pop-up blocker extension and thus, block pop-ups on your macOS device.

Also Read: How to Add Fonts to Word Mac

How to Enable Fraudulent Website Warning on Mac

Although the given methods work well to block pop-ups, it is recommended to enable the Fraudulent Website Warning feature in Safari, as instructed below:

1. Launch Safari 10/11/12 on your Mac.

2. Click on Safari > Preferences, as earlier.

Click Safari from the top bar, and click Preferences | How to Block Pop-ups on Mac

3. Select Security option.

4. Check the box titled Warn when visiting a fraudulent website. Refer given pic for clarity.

Turn the toggle ON for Warn when visiting a fraudulent website

This will provide some added protection whenever you browse online. Now, you can relax and allow your kids to use your Mac as well.

Recommended:

We hope you were able to understand how to Block Pop-ups in Safari on Mac with the help of our comprehensive guide. Let us know which method worked for you. If you have any queries or suggestions, drop them in the comment section.