# Discourse 提供在 macOS Safari 16 上启用实时通知的功能，但它们不起作用

**URL:** <https://meta.discourse.org/t/discourse-offers-to-enable-live-notifications-on-macos-safari-16-but-they-dont-work/249987>\
**Category:** Bug\
**Tags:** push-notifications\
**Created:** [2022 年12 月 28 日 03:22 UTC](https://meta.discourse.org/t/discourse-offers-to-enable-live-notifications-on-macos-safari-16-but-they-dont-work/249987 "2022-12-28T03:22:09Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
发布日期： [2023 年1 月 31 日 01:47 UTC](https://meta.discourse.org/t/discourse-offers-to-enable-live-notifications-on-macos-safari-16-but-they-dont-work/249987/10 "2023-01-31T01:47:08Z")

</div>

如何测试 Web 推送通知？

我开始尝试通过向 Discobot 发送私信（`@discobot roll 2d6`）然后切换到另一个网站来测试。即使在 Google Chrome 中，我也没收到 Discobot 回复的推送通知。（但我确实收到了来自我的 iOS Discourse Hub 应用的推送通知。）

我推测这与我没有“离开”有关，也就是说，我在过去十五分钟内访问过该网站……？它应该这样工作吗？如果是这样，我该如何测试？

供参考，我至少能够导航到 [https://meta.discourse.org/my/preferences/notifications](https://meta.discourse.org/my/preferences/notifications) 并点击“启用通知”。我收到了这个警报：

 ![Screenshot 2023-01-30 at 5.49.44 PM](https://global.discourse-cdn.com/meta/original/4X/4/0/7/40732d4a819338b3d2483c6513bded8cdfa13c33.png)

这肯定是个好兆头！但我仍然想看到，你知道的，由用户活动产生的实际通知。（我还想看看当我退出 Safari 时，以及/或者当我的 Mac 在通知到达时处于睡眠状态时，它的效果如何。）

---

_[View the full topic](https://meta.discourse.org/t/discourse-offers-to-enable-live-notifications-on-macos-safari-16-but-they-dont-work/249987)._
