Tuesday, April 21, 2020

Safari: Enable/Disable Pop-up Blocker

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

No comments:

Post a Comment