Block pop-ups in Safari on Mac
You can prevent web pages from displaying pop-up windows.
In the Safari app on your Mac, choose Safari > Preferences, then click Websites.
Click Pop-up Windows.
Block pop-up windows for:
A website in the list: Select the website in the right column, then choose the option you want.
All websites that aren’t currently customised: Click the “When visiting other websites” pop-up menu in the bottom-right corner of the pane, then choose the option you want.
You can see all websites you’ve customised under Configured Websites. If you don’t see Configured Websites, either you haven’t customised a website yet, or you’ve cleared the list. See Change Websites preferences in Safari on Mac.
All websites: Make sure no websites are listed under Configured Websites (to clear the list quickly, select the websites, then click Remove). Click the “When visiting other websites” pop-up menu, then choose the option you want.
If you choose Block and Notify for pop-up windows on a website, click the icon in the Smart Search field to display the pop-up windows.
Note: Blocking pop-ups might also block some content you want to see.