📜  chrome 扩展通知未显示 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:16.903000             🧑  作者: Mango

代码示例1
If you are using Mac and Chrome 59+, it might be because the MacOS native notification is disabled for Chrome. Here's two possible solutions:

Solution 1
Open Chrome > Go chrome://flags > Search Enable native notifications > Change it to Disabled > Relaunch Chrome

Solution 2
Go to MacOS System Preferences > Notifications > Turn on Notifications for Banners/Alerts as shown here (likely previously it's Off)