These days, nearly every site you visit tries to get you to sign up for push notifications. It’s pretty easy to accidentally click yes. Then you find yourself bombarded by annoying pop-ups. Here’s how to stop it from happening in the Safari browser. Open Safari. Then click the Safari menu at the top left and choose Preferences from the drop-down menu.
When the Preferences window opens, choose Websites.
At the right, choose Notifications.
Untick the box next to Allow websites to ask for permission to send notifications.