# Discourse doesn't render in Firefox when notifications are disabled

**URL:** https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450
**Category:** Bug
**Created:** [March 21, 2018, 2:36am UTC](https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450 "2018-03-21T02:36:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![steveb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steveb/32/92578_2.png) [@steveb](https://meta.discourse.org/u/steveb)
#### Post date: [March 21, 2018, 2:36am UTC](https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450/1 "2018-03-21T02:36:16Z")

</div>

Tested with Firefox on [safe mode](https://meta.discourse.org/t/53504?silent=true) / no addons. Win 7. FF 59.0.1 (64-bit). Have noticed this for the past month or so. User is presented with a blank/white screen on all forum pages. Apparently this effects all discourse sites for users that have

dom.webnotifications.enabled = false

in about.config. This is not an uncommon setting, it would be great if this could be fixed so that having notifications disabled won’t render block the entire site.

Console error output:

---

<div class="post-metadata">

### Author: ![steveb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steveb/32/92578_2.png) [@steveb](https://meta.discourse.org/u/steveb)
#### Post date: [March 21, 2018, 2:36am UTC](https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450/2 "2018-03-21T02:36:59Z")

</div>

I got ‘Internal Server Error’ here when posting the full bug report.

More info here:

> **[Forum website doesn't work on Firefox Win7](https://forum.duplicati.com/t/forum-website-doesnt-work-on-firefox-win7/2947/6)**
>
> Ok, found the problem. I recently disabled the web notification feature in about:config: dom.webnotifications.enabled = false If I set it back to true, the forum works fine. I hate web notifications!

> **[Forum.freecodecamp.org not working in OSX Firefox?](https://forum.freecodecamp.org/t/forum-freecodecamp-org-not-working-in-osx-firefox/173177)**
>
> Has anyone else had trouble loading the forum in Firefox? Trying to open the page in Firefox 58.0.2 on Mac gives a blank page with the following console output: Discourse desktop notifications are disabled - not supported by browser...

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [March 21, 2018, 6:02am UTC](https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450/4 "2018-03-21T06:02:23Z")

</div>

This was due to a bug in `discourse-push-notifications` and has been fixed in

[https://github.com/discourse/discourse-push-notifications/commit/8e217c492dabfd578c69ef5ef491ee9887c5ec12](https://github.com/discourse/discourse-push-notifications/commit/8e217c492dabfd578c69ef5ef491ee9887c5ec12)

Thanks for reporting @steveb

---

<div class="post-metadata">

### Author: ![steveb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steveb/32/92578_2.png) [@steveb](https://meta.discourse.org/u/steveb)
#### Post date: [March 21, 2018, 9:46pm UTC](https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450/5 "2018-03-21T21:46:48Z")

</div>

Many thanks for the prompt fix! You rock @tgxworld

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [March 21, 2018, 11:33pm UTC](https://meta.discourse.org/t/discourse-doesnt-render-in-firefox-when-notifications-are-disabled/83450/6 "2018-03-21T23:33:25Z")

</div>


