Change the Safari Permissions
A website must ask your permission before it can push notifications to your desktop, usually as a pop-up question when you visit the site. While useful, these notifications can prove unwieldy and intrusive. Here’s how to deny or allow permissions for push notifications:
Change Notification Settings
To view more notification-related settings in the Notification Center:
None: Disables Safari alerts from displaying on the desktop while keeping notifications active in the Notification Center.Banners: Informs you when a new push notification is available.Alerts: Notifies you and includes relevant buttons. Alerts stay on the screen until you dismiss them.
Show notifications on lock screen: When enabled, push notifications generated by your allowed websites display when your Mac is locked.Show notification preview: Specify whether macOS shows previews (which contain more detail about the alert) always or only when the computer is unlocked.Show in Notification Center: Leave this option on to see alerts you might have missed by opening the Notification Center in the upper-right corner of the Finder.Badge app icon: When enabled, the number of Safari alerts to be viewed displays in a red circle overlaying the browser’s icon on the Dock.Play sound for notifications: When enabled, an audio alert plays each time you receive a notification.