# \[Support\] uMatrix

**URL:** <https://discourse.mozilla.org/t/support-umatrix/5131>\
**Category:** Add-on Support\
**Created:** [November 6, 2015, 2:21am UTC](https://discourse.mozilla.org/t/support-umatrix/5131 "2015-11-06T02:21:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gorhill](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@gorhill](https://discourse.mozilla.org/u/gorhill)\
**Post date:** [January 26, 2016, 7:57pm UTC](https://discourse.mozilla.org/t/support-umatrix/5131/6 "2016-01-26T19:57:18Z")

</div>

> Is there a way to have uMatrix enable all instances of [youtube.com](http://youtube.com) no matter which website uses it?

Sure.

The trick is to create rules in the _global scope_, so that these rules apply everywhere.

You can select the current scope for which rules will be applied with the top-left cell: click on it, a drop list will appear from which the scope can be selected.

 ![](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/2X/9/94241ca1d844a4100ab51f88836b4f63bf0e5f17.png)

For example, I went to your first example site, selected the global scope (identified with “\*”), then created the rules to make the embedded Youtube video work:

 ![](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/2X/b/b5b42311f7a3b465f429d1b979fdd65ccc8d7bfc.png)

What is left to do is save the rules (using the padlock), and a good habit is to select back the local scope to be sure you do not end up mistakenly creating rules in the global scope.

The rules can also be added manually (this is the rules created using the UI above) in the _My rules_ pane in the dashboard:

```
* youtube.com * allow
* youtube.com frame allow
* ytimg.com * allow
* googlevideo.com * allow

```

Then click _Commit_ to make them permanent. The first item in a rule is the origin, i.e. where the rule should apply. `*` = everywhere, aka global scope.

( **Edit:** added missing rule for `googlevideo.com`: you will need to select it in the UI or add it manually – embedded Youtube videos won’t work without it.)

---

_[View the full topic](https://discourse.mozilla.org/t/support-umatrix/5131)._
