This article explains how to enable or disable the pop-up blocker in Safari. Instructions apply to macOS, iOS, and Windows.
The pop-up blocker for Mac computers is accessible through the Web Content section of Safari's settings.
From the menu at the top of the Safari window, choose Safari > Preferences.
Click on Pop-up Windows.