设置网站是否可以显示桌面通知。你可以默认允许通知("AllowNotifications'"),默认拒绝通知("BlockNotifications"),或者在每次网站要显示通知时询问用户("AskNotifications")。
如果未配置此策略,则默认允许通知,而且用户可以更改此设置。
策略选项映射:
* AllowNotifications (1) = 允许站点显示桌面通知
* BlockNotifications (2) = 不允许任何站点显示桌面通知
* AskNotifications (3) = 每次站点要显示桌面通知时都询问
配置此策略时,请使用上述信息。
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge |
Value Name | DefaultNotificationsSetting |
Value Type | REG_DWORD |
Value | 1 |
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge |
Value Name | DefaultNotificationsSetting |
Value Type | REG_DWORD |
Value | 2 |
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge |
Value Name | DefaultNotificationsSetting |
Value Type | REG_DWORD |
Value | 3 |