Browsers and Mail Allow or Block Web Push Notifications for Sites in Microsoft Edge

Microsoft_Edge.jpeg

Microsoft has adopted the Chromium open source project in the development of Microsoft Edge on the desktop to create better web compatibility. This new Microsoft Edge runs on the same Chromium web engine as the Google Chrome browser, offering you best in class web compatibility and performance.

The new Chromium based Microsoft Edge is supported on all versions of Windows 7, Windows 8.1, Windows 10, Windows Server (2016 and above), Windows Server (2008 R2 to 2012 R2), and macOS.

Web Notifications allow sites to display notifications to alert users outside the context of the webpage and the browser, keeping users informed of new messages or alerts and allowing sites to improve user engagement. Web Notifications in Microsoft Edge are fully integrated with the notification platform and Action Center in Windows 10, providing a consistent experience with other apps across the system and easy controls over permissions and Quiet Hours.

See also: Introducing adaptive notification requests in Microsoft Edge | Microsoft Edge Blog

This tutorial will show you how to allow or block web push notifications for sites in the Chromium based Microsoft Edge.

It is required to turn on notifications from Microsoft Edge in Windows 10.

If you turn off notifications from Microsoft Edge in Windows 10, then you will not see web push notifications from Microsoft Edge even if turned on.


Notifications that originate from sites in an InPrivate window will not be stored in Action Center, and permission settings for those domains will not be saved after each session.


You can go to the Microsoft Edge Developer Web Push Notifications tutorial site to test getting a push notification in Microsoft Edge.



Contents

  • Option One: Turn On or Off Web Push Notifications for All Sites in Microsoft Edge for Current User
  • Option Two: Allow or Block Web Push Notifications for Specific Site in Microsoft Edge from Pop-up for Current User
  • Option Three: Allow or Block Web Push Notifications for Specific Site in Microsoft Edge from Site Permissions for Current User
  • Option Four: Allow or Block Web Push Notifications for Specific Site in Microsoft Edge from Site Information for Current User
  • Option Five: Allow or Block Web Push Notifications for Specific Sites in Microsoft Edge for Current User
  • Option Six: Force Allow or Block Web Push Notifications for All Sites in Microsoft Edge for All Users using a REG file


EXAMPLE: Web push notification for site from Microsoft Edge in Windows 10
Microsoft_Edge_web_push_notification.jpg






OPTION ONE

Turn On or Off Web Push Notifications for All Sites in Microsoft Edge for Current User


1 Open Microsoft Edge.

2 Click/tap on the Settings and more (Alt+F) button (3 dots), and click/tap on Settings. (see screenshot below)

Microsoft_Edge_settings.jpg

3 Click/tap on Cookies and site permissions on the left side, and click/tap on Notifications on the right side under "All permissions". (see screenshot below)

If you do not see a left pane, then either click/tap on the 3 bars menu button towards the top left OR widen the horizontal borders of the Microsoft Edge window until you do.


Microsoft_Edge_web_push_notifications_settings-1.jpg

4 Turn On (default) or Off Ask before sending (recommended) for what you want. (see screenshots below)

Turning off Ask before sending will block web push notifications for all sites.

Turning on Ask before sending will have sites ask to show push notifications by default, and uses the Allow and Block list for sites you added.


Microsoft_Edge_web_push_notifications_settings-2.jpg
Microsoft_Edge_web_push_notifications_settings-3.jpg

5 When finished, you can close the Settings tab if you like.





OPTION TWO

Allow or Block Web Push Notifications for Specific Site in Microsoft Edge from Pop-up for Current User


This option will only by available if Ask before sending is turned on in Option One, and the site is still set to the default Ask to show notifications instead of automatically Allow or Block.


1 Open Microsoft Edge.

2 If a site asks (default) to show notifications, click/tap on Allow or Block for what you want. (see screenshot below)

If you do not want to add the site to the Allow or Block list, you can close the ask dialog to leave the site set to Ask by default.


Microsoft_Edge_notifications.jpg





OPTION THREE

Allow or Block Web Push Notifications for Specific Site in Microsoft Edge from Site Permissions for Current User


This option will only by available if Ask before sending is turned on in Option One.


1 Open Microsoft Edge.

2 While you have a site open in a tab you want to allow or block to show web push notifications, click/tap on the View site information (lock) icon on the left of the address bar, and click/tap on Site permissions. (see screenshot below)

Notifications_site_permissions_Microsoft_Edge-1.png

3 Select Ask (default), Allow, or Block in the Notifications drop menu for what you want applied to this site. (see screenshot below)

Selecting Allow will add the site to the Allow list seen in Option Five.

Selecting Block will add the site to the Block list seen in Option Five.


Notifications_site_permissions_Microsoft_Edge-2.png

4 When finished, you can close the Settings tab if you like.





OPTION FOUR

Allow or Block Web Push Notifications for Specific Site in Microsoft Edge from Site Information for Current User


This option will only by available if Ask before sending is turned on in Option One, and the site is already set to Allow or Block notifications instead of Ask.


1 Open Microsoft Edge.

2 While you have a site open in a tab you want to change the web push notifications settings for, click/tap on the View site information (lock) icon on the left of the address bar. (see screenshot below step 3)

3 Select Ask (default), Allow, or Block in the Notifications drop menu for what you want applied to this site, and close the dialog. (see screenshot below)

Selecting Allow will add the site to the Allow list seen in Option Five.

Selecting Block will add the site to the Block list seen in Option Five.


Microsoft_Edge_change_site_notifications-1.png

4 Click/tap on Refresh to apply. (see screenshot below)

Microsoft_Edge_change_site_notifications-2.png





OPTION FIVE

Allow or Block Web Push Notifications for Specific Sites in Microsoft Edge for Current User


1 Open Microsoft Edge.

2 Click/tap on the Settings and more (Alt+F) button (3 dots), and click/tap on Settings. (see screenshot below)

Microsoft_Edge_settings.jpg

3 Click/tap on Cookies and site permissions on the left side, and click/tap on Notifications on the right side under "All permissions". (see screenshot below)

If you do not see a left pane, then either click/tap on the 3 bars menu button towards the top left OR widen the horizontal borders of the Microsoft Edge window until you do.


Microsoft_Edge_web_push_notifications_settings-1.jpg

4 Click/tap on the Add button to Block or Allow a site for what you want. (see screenshot below)

Microsoft_Edge_per_site_notifications-1.png

5 Type the site's URL address, and click/tap on Add. (see screenshot below)

Microsoft_Edge_per_site_notifications-2.png

6 If needed, you can click/tap on the More actions (3 dots) button for an added site to either Remove, Edit, move to Allow, or move to Block. (see screenshot below)

Microsoft_Edge_per_site_notifications-3.png

7 When finished, you can close the Settings tab if you like.





OPTION SIX

Force Allow or Block Web Push Notifications for All Sites in Microsoft Edge for All Users using a REG file


You must be signed in as an administrator to do this option.

This option uses the DefaultNotificationsSetting policy to set whether websites can display desktop notifications. You can allow them by default ('AllowNotifications'), deny them by default ('BlockNotifications'), or have the user be asked each time a website wants to show a notification ('AskNotifications'). If you don't configure this policy, notifications are allowed by default, and the user can change this setting.

The downloadable .reg files below will add and modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge

DefaultNotificationsSetting DWORD

(delete) = Default
1 = Always allow
2 = Always block
3 = Always ask


1 Do step 2 (allow), step 3 (block), step 4 (ask), or step 5 (default) below for what you would like to do.


2 To Force Always Allow Web Push Notifications for All Sites in Microsoft Edge for All Users

This step will disable Option One, Option Two, Option Three, and Option Four.


A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Always_allow_web_push_notifications_from_Microsoft_Edge_for_all_users.reg



3 To Force Always Block Web Push Notifications for All Sites in Microsoft Edge for All Users

This step will disable Option One, Option Two, Option Three, and Option Four.


A) Click/tap on the Download button below to download the file below, and go to step6 below.​

Always_block_web_push_notifications_from_Microsoft_Edge_for_all_users.reg



4 To Force Always Ask to Show Web Push Notifications for All Sites in Microsoft Edge for All Users

This step will disable Option One, Option Two, Option Three, and Option Four.


A) Click/tap on the Download button below to download the file below, and go to step6 below.​

Always_ask_web_push_notifications_from_Microsoft_Edge_for_all_users.reg



5 Default User Choice to Allow or Block Web Push Notifications for Sites in Microsoft Edge

This is the default setting.

This step will allow users to use Option One, Option Two, Option Three, Option Four, and Option Five.


A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Default_user_choice_web_push_notifications_from_Microsoft_Edge.reg



6 Save the .reg file to your desktop.

7 Double click/tap on the downloaded .reg file to merge it.

8 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

9 If Microsoft Edge is currently open, then close and reopen Microsoft Edge to apply.

10 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • microsoft_edge_chromium.png
    microsoft_edge_chromium.png
    28 KB · Views: 36
  • Always_allow_web_push_notifications_from_Microsoft_Edge_for_all_users.reg
    650 bytes · Views: 53
  • Always_ask_web_push_notifications_from_Microsoft_Edge_for_all_users.reg
    650 bytes · Views: 51
  • Always_block_web_push_notifications_from_Microsoft_Edge_for_all_users.reg
    650 bytes · Views: 53
  • Default_user_choice_web_push_notifications_from_Microsoft_Edge.reg
    624 bytes · Views: 47
Last edited:
Top