# Native window notifications - not working?

**URL:** <https://talk.observablehq.com/t/native-window-notifications-not-working/697>\
**Category:** Uncategorized\
**Created:** [May 1, 2018, 7:42am UTC](https://talk.observablehq.com/t/native-window-notifications-not-working/697 "2018-05-01T07:42:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bumbeishvili](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bumbeishvili/32/4220_2.png) [@bumbeishvili](https://talk.observablehq.com/u/bumbeishvili)\
**Post date:** [May 1, 2018, 7:42am UTC](https://talk.observablehq.com/t/native-window-notifications-not-working/697/1 "2018-05-01T07:42:31Z")

</div>

Is there a way to make native window Notifications working inside notebooks?

It would be really useful if we had a way to notify the user about something

Are there other alternatives?

I have created a notebook to display this restriction

[https://beta.observablehq.com/@bumbeishvili/window-notifications](https://beta.observablehq.com/@bumbeishvili/window-notifications)

---

<div class="post-metadata">

**Author:** ![mbostock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mbostock/32/9_2.png) [@mbostock](https://talk.observablehq.com/u/mbostock)\
**Post date:** [May 2, 2018, 4:36pm UTC](https://talk.observablehq.com/t/native-window-notifications-not-working/697/2 "2018-05-02T16:36:43Z")

</div>

At least in Chrome, it isn’t possible to use the native Notification API in a cross-origin iframe (even with [cross-origin permissions](https://www.chromestatus.com/feature/5023919287304192)). See:

[https://www.chromestatus.com/feature/6451284559265792](https://www.chromestatus.com/feature/6451284559265792)

We could possibly provide a proxy API whereby the sandboxed iframe can send a message to the parent window, and then the parent window requests notification permissions for [beta.observablehq.com](http://beta.observablehq.com) on behalf of your notebook. But this requires a fair amount of machinery, so it’s probably not something that we’ll support in the near future. Sorry.

---

<div class="post-metadata">

**Author:** ![bumbeishvili](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bumbeishvili/32/4220_2.png) [@bumbeishvili](https://talk.observablehq.com/u/bumbeishvili)\
**Post date:** [May 2, 2018, 4:52pm UTC](https://talk.observablehq.com/t/native-window-notifications-not-working/697/3 "2018-05-02T16:52:21Z")

</div>

> [@mbostock](#):
>
> [Chrome Platform Status](https://www.chromestatus.com/feature/6451284559265792)

Thank you for the reply, I understand

---

<div class="post-metadata">

**Author:** ![magjac](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/magjac/32/525_2.png) [@magjac](https://talk.observablehq.com/u/magjac)\
**Post date:** [May 4, 2018, 10:39am UTC](https://talk.observablehq.com/t/native-window-notifications-not-working/697/4 "2018-05-04T10:39:40Z")

</div>

Works for me with Firefox 57.0 (64-bit) on Ubuntu 14.04.5
