With the release of Firefox 22 has come an implementation of the Web Notifications (draft) API. SE Chat has had notifications for a while, but a quick search of the minified code and the lack of a notifications option indicates that it uses window.webkitNotifications, which is of course specific to the WebKit engine.

Now, the W3C draft API is currently working on the current release versions of both Firefox and Chrome (test here) (some other browsers still only support the prefixed version for now). Would it be possible to have notification support for Firefox on SE Chat?

Previously, there was an addon that implemented window.webkitNotifications for Firefox. Since native support was introduced, that addon has been discontinued, and no longer works on the latest version.

  • 3
    Based on balpha's response to when I brought this up before, the answer is yes. As for when, 6-8 weeks.
    – Tim Stone
    Commented Jun 28, 2013 at 11:56
  • As a quick fix, you could install this userscript: window.webkitNotifications = notifications Commented Jun 28, 2013 at 11:59
  • @JanDvorak It looks like the two APIs are sufficiently different that a direct port would not work. Might not be too difficult to write a shim.
    – Bob
    Commented Jul 2, 2013 at 7:52
  • @TimStone So, uh. Any word? (approaching a year now)
    – Bob
    Commented Apr 17, 2014 at 4:16

2 Answers 2


Chat now uses the current standard for desktop notifications, and this means it works in Firefox as well.


I've written a shim/library/userscript which implements webkitNotifications for browsers which support Notification.

  • I seem to have missed the notification of this answer! I went and implemented my own, though it has far more reliance on Notification, while yours does more of the work. I'm also very much a beginner with JavaScript, and the events aren't properly done. Apart from that, it does work for other people (but not myself on SE Chat, which is odd - it works on other sites for me). Anyway, thanks!
    – Bob
    Commented Jul 5, 2013 at 17:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .