# uMatrix browser add-on causes white pages when visiting Discourse instances

**URL:** <https://meta.discourse.org/t/umatrix-browser-add-on-causes-white-pages-when-visiting-discourse-instances/155239>\
**Category:** Product Support\
**Created:** [18 ביוני,‏ 2020,‏ 3:59pm UTC](https://meta.discourse.org/t/umatrix-browser-add-on-causes-white-pages-when-visiting-discourse-instances/155239 "2020-06-18T15:59:50Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![reitzig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/reitzig/32/212378_2.png) [@reitzig](https://meta.discourse.org/u/reitzig)\
**Post date:** [6 באפריל,‏ 2021,‏ 10:45am UTC](https://meta.discourse.org/t/umatrix-browser-add-on-causes-white-pages-when-visiting-discourse-instances/155239/10 "2021-04-06T10:45:13Z")

</div>

> [@supermathie](#):
>
> Yes, exactly. If you install a browser extension that significantly affects the operation of that browser and disallows normal requests, you’re going to have a bad time.

Web-app developers can keep in mind script blockers are around and accommodate them (to some extend), they can feign ignorance, or they can go out of their way to hide requests so it’s all but impossible to configure the script blocker in the right way. I’ve seen all three, and there’s definitely a choice there.

> [@mmcm](#):
>
> Installing uMatrix has _always_ been an invitation to adventure.

Yeah, but I don’t expect a site to require dependencies _that don’t show up_.

FWIW, though: uMatrix has been put into archive mode over a year ago. I’ve switched to uBlock Origin now and am currently evaluating how Discourse behaves. So far, it _seems_ to be okay.

uBO doesn’t distinguish scripts and XHR, so maybe that’s why it works: the _scripts_ dependency is visible, so after allowing that, the XHR goes through.  
It also has (more) whitelisting, so that may play a role as well.

> [@mmcm](#):
>
> most discourse deployments I’ve seen have a pretty privacy-friendly setup: just two or three domains that have pretty clearly defined, user-value-providing tasks.

Hmm.

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/9/99e6f227691124920f6dc02dfd710e0e31613d97.png)  
🤷‍♂️

> [@riking](#):
>
> Ah, this would be because of the serviceworker caching. All the resource requests get proxied by a script, so you need to allow the script to make requests (the XHR box).

No offense – I don’t understand the whys and hows of that at all – but that seems to fall into the “go out of their way to hide requests” category. Would it be possible to declare a statically discoverable dummy dependency so that thing shows up in? Or, you know, show _anything_ actionable as opposed to a blank page? 💁‍♂️

---

_[View the full topic](https://meta.discourse.org/t/umatrix-browser-add-on-causes-white-pages-when-visiting-discourse-instances/155239)._
