• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Safari: Enable/Disable Pop-up Blocker

Safari: Enable/Disable Pop-up Blocker

September 19, 2018 by Mitch Bartlett 28 Comments

How to enable or disable the pop-up blocker in the Apple Safari web browser for MacOS Sierra.


Safari 12 for MacOS

Block or Allow All Websites by Default

  1. Select “Safari” > “Preferences“, then select on “Websites” at the top of the window.
  2. Select “Pop-up Windows” on the left side.
  3. Use the “When visiting other websites” drop-down menu to one of the following:
    • Block and Notify
    • Block
    • Allow

Block or Allow Single Website

  1. Visit the website you would like to block or allow.
  2. Select “Safari” > “Preferences“.
  3. Select on “Websites” at the top of the window.
  4. Select “Pop-up Windows” on the left side.
  5. The website should be listed where you can select a setting in the drop-down menu.
    • Block and Notify
    • Block
    • Allow

When Safari is set to “Block and Notify”, you can allow pop-up windows right after they have been blocked by selecting the two boxes in the address bar.


Safari 11 and 10 for MacOS

Option 1

  1. Select “Safari” > “Preferences“.
  2. Click on “Security” at the top of the window.
  3. Check the box “Block pop-up windows” to enable this feature. Uncheck it to disable it.

Option 2

    1. From “Utilities“, launch the “Terminal” app.
    2. To disable popup blocker, type:
      defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool true

      To enable popup blocker, type:

      defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool false
    3. Press “Enter“, and the command sets to popup blocker setting as desired.

iPhone and iPad Version

    1. From the Home screen, select “Settings“.
    2. Choose “Safari”
      iOS Safari Settings option
    3.  Slide the “Block Pop-ups” to “On” (green) to block pop-ups, or slide it to “Off” (white) to never block pop-ups.
      Safari for iOS Popup setting

You Might Also Like

  • Google Chrome: Enable/Disable Pop-up Blocker
    Google Chrome: Enable/Disable Pop-up Blocker
  • Enable or Disable JavaScript in Safari for iPhone & iPad
    Enable or Disable JavaScript in Safari for iPhone & iPad
  • Kiwi for Android: How to Enable the Ad-Blocker
    Kiwi for Android: How to Enable the Ad-Blocker
  • Edge for Android: How to Enable the Ad-Blocker
    Edge for Android: How to Enable the Ad-Blocker
  • MacOS: Enable Web Inspector In Safari
    MacOS: Enable Web Inspector In Safari
  • Apple Safari: Completely Disable Cache
    Apple Safari: Completely Disable Cache

Filed Under: iPhone, macOS, Software Tagged With: safari

Reader Interactions

Comments

  1. Shukri says

    September 8, 2022 at 8:17 pm

    I did it

  2. Shukri says

    September 8, 2022 at 8:14 pm

    Yes

  3. Sue says

    January 7, 2022 at 2:25 pm

    This program is impossible to use!

  4. L says

    December 9, 2021 at 4:23 am

    I checked on security for safari, but I couldn’t find the block pop-ups option.

  5. Joseph Smith says

    August 26, 2021 at 8:47 pm

    I did it

  6. Trina Johnson says

    January 24, 2021 at 5:42 pm

    I have Safari through my IPhone XR. I just downloaded the CDA Schools app. Now I disabled the pop up in the menu options and I still cannot login to Skyward

  7. Tenika says

    September 21, 2020 at 10:07 pm

    I enabled pop up for safari (MacBook Pro) but the sites are still not allowing the pop ups. What am I doing wrong? this is aggravating. LOL

  8. Trisha says

    April 6, 2020 at 1:23 pm

    I still need help. Safari version is 12.1.2 and I cannot seem to update it unless I update my Mac OS from Mojave 10.14.6, which I cannot do at this time.

    In my Safari Preferences, there is no option for Pop Up Windows under Preferences>Websites. “Notifications’ is the last option before Plug-ins. In the Security Pane (Preferences>Security) there is no checkbox to block popup windows.

    I copied and pasted the terminal script above but it made no change in my Preferences. The popup windows is highly annoying but I can find no way to block them!

    What does one do when there is no setting/option at all in Preferences?

  9. Patrick Vatel says

    March 23, 2020 at 6:57 am

    Yes it was really helpful

  10. Rebecca says

    December 7, 2019 at 11:53 am

    Thank you! I was searching everywhere as most notes said to go to the Security Window, not Websites. Thank you!!

  11. Carrie King says

    October 30, 2019 at 1:30 pm

    Boy do I need help. When I log on all I get are My Documents. When I click on my documents all the pages that are there I looked at. It all says completed and everything is done but there is nothing letting me go farther. I’ve had a lot of trouble with my password but I think I have taken care of that. Thank you

  12. p. henderson says

    September 7, 2019 at 12:15 am

    Thank you so much for the help! I couldn’t figure it out.

  13. Kelley Brumfield says

    August 19, 2019 at 11:01 pm

    VERY HELPFUL
    Under currently opened websites, SKYWARD-SCHOOLNAME will be listed there (IF OPEN IN BROWSER) Then you click on the ASK /\ \/ option to the right and go to allow on everything listed as skyward

  14. Passa Caglia says

    July 1, 2019 at 3:16 pm

    No explanation for what Block and Notify does for Pop-up Windows…Like what if you select “Allow”? Clicking on the question mark (more information) lower right corner doesn’t really give much information

  15. vinny says

    March 28, 2019 at 2:00 pm

    very helpful sir! much appreciated.

  16. Cassey says

    March 6, 2019 at 3:57 pm

    This did not work on my phone. I turned off pop up blocker and closed out the app completely and re-opened it. It gave me the same error message that my pop up blocker is blocking the website. I double checked, it’s not on.

  17. Mary Lou ELLARS says

    February 14, 2019 at 1:31 pm

    Not yet!!

  18. Marie-Pier says

    February 13, 2019 at 5:08 pm

    i need help what if i don’t have the selection block pop-up showing ?

  19. deja says

    January 22, 2019 at 2:25 pm

    how come i don’t have those options?? All i have there is fraudulent accounts and web content

  20. FARRELL THOMPSON says

    January 22, 2019 at 12:31 pm

    YES IT HELPED VERY MUCH. THANK YOU

  21. Roshni says

    December 9, 2018 at 12:47 pm

    Yes its very helpful. So easily described step by step

  22. Nic says

    November 15, 2018 at 2:00 am

    Solved my problem thanks for the instructions for Safari 12 for MacOS

  23. Luc says

    November 6, 2018 at 2:47 pm

    I find it very helpful.

  24. Cesar says

    November 6, 2018 at 9:44 am

    Very helpful, up to date and direct to the point.
    Thanks very much.

  25. sam says

    October 15, 2018 at 2:22 am

    HI – this wasn’t helpful because I don’t have that pop-up block box under security in safari preferences?

  26. Noemi says

    October 9, 2018 at 1:54 pm

    Very helpful! After an update it disappeared and couldn’t locate. Thank you.

  27. L Redmond says

    September 21, 2018 at 9:21 am

    Helped! Thanks. Several other web searches did not help. Bless you!

  28. Mike Matthews says

    September 20, 2018 at 10:08 am

    Thank you very much, an FAA web site I use to qualify my students uses popups extensively and the freshness of this build made it difficult to locate a clue as to where it went. Kinda like moving into a new house with all the boxes unlabeled. Makes it really tuff to find things.

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Print Labels from Excel Using MS Word Mail Merge
  • What Is NVMe Over TCP (NVMe/TCP)
  • Android Mobile Hotspot: How to Change the Password and Name
  • Windows 10: How to Force Quit and App
  • What is Dumpster Diving?
  • How to Download iOS 16 Beta 3 on iPhone or iPad
  • What is a Security Compromise?
  • Mastodon: How to DM Someone

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy