How do I stop Safari applications from popping up every 5 minutes?
Open Safari, select Preferences and go to Security. Turn on the Block pop-up windows option and restart the browser. For further details, check the official Support page.