Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Can we have a way of making global allows? #685

Closed
k-h opened this issue Dec 20, 2016 · 7 comments
Closed

Can we have a way of making global allows? #685

k-h opened this issue Dec 20, 2016 · 7 comments
Labels

Comments

@k-h
Copy link

k-h commented Dec 20, 2016

Each website I go to that has embedded youtube videos, I have to allow youtube, google, yimg, google video etc. And it all takes three or so reloads. Boring, really boring.

Currently red and green are allow/disallow, how about say:

blue = global allow.

@jjohns71
Copy link

jjohns71 commented Dec 20, 2016

This isn't a valid issue but you can do this with uMatrix, To do what you want for YouTube add the following rules to your 'My Rules' tab in the uMatrix dashboard:

* googlevideo.com * allow
* youtube-nocookie.com frame allow
* youtube-nocookie.com script allow
* youtube-nocookie.com xhr allow
* youtube.com frame allow
* youtube.com image allow
* youtube.com other allow
* youtube.com plugin allow
* youtube.com script allow
* youtube.com xhr allow
* ytimg.com image allow
* ytimg.com plugin allow
* ytimg.com script allow

This can also be done through the GUI -- if you click on the domain at the top left of the uMatrix panel you can change it to * to implement a global rule. (Produces the same rules as given above.)

@k-h
Copy link
Author

k-h commented Dec 21, 2016

Thanks.

if you click on the domain at the top left of the uMatrix panel you can change it to * to implement a global rule.

But that would allow everything in the panel wouldn't it?

@jjohns71
Copy link

jjohns71 commented Dec 21, 2016

Steps to follow for setting global rules through the GUI

For the steps below we will use an example website which has a youtube video embedded on the page.

Step 1.
From the uMatrix panel in the very top left corner select the blue dropdown which should show the website domain you are currently on and select '*' instead of the domain you are currently on.
step01

Step 2.
Select the rules you want to allow from the 3rd party domain.
step02

Step 3.
Click the unlocked padlock icon from the uMatrix panel to permanently save the new rules you have just allowed.
step03a

Alternative Step 3. Procedure

Open the uMatrix dashboard and click on the 'My rules' tab. Make your temporary rules permanent by committing them by clicking on the
commit button.

step03b
This is an alternative to clicking the padlock icon from the uMatrix panel to make rules permanent.

Step 4.
Click the refresh icon refresh icon to refresh the example website

Step 5.
Repeat steps 1-4 until the video fully loads.
step04

Scripts for domains 'www.youtube.com' & 's.ytimage.com' as well as XHR requests for 'googlevideo.com' & 'www.youtube.com' and frames for 'www.youtube.com' have now been allowed.

Rules you set following the steps above should now be global and apply to all websites.

@k-h
Copy link
Author

k-h commented Dec 22, 2016

Thanks.

BTW I should add here that youtube.com is a pain because you have to allow it first, then you reload and you get the ytimg.com which you have to allow, then you have to reload and you get googlevideo.com which again you have to allow. Phew.

@aeris
Copy link

aeris commented Jan 18, 2017

Hello people !

For security/privacy concerns, you don’t want to directly allow youtube/google/cloudflare from anywhere, but currently, because of the behaviour reported by @k-h, you have to refresh your page multiple times. 5× for ReCaptcha for example, and the last refresh is only possible after you fill the captcha and validate the form and then you got the last XHR request pointing to another domain.

Would be interesting to have a dropdown menu with pre-filled temporary rules (ReCaptcha, Youtube…) to apply on the current page without having real blocked request to corresponding domains, reducing refresh needed to 1.

@ibotty
Copy link

ibotty commented Jan 29, 2017

Aeris is right. Many don't want to allow youtube globally. It would be great, if there was a dropdown that will add some predefined rules to the active scope. I opened a issue about that: #702.

@gorhill
Copy link
Owner

gorhill commented Jan 29, 2017

@jjohns71 gave the proper answer above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants