µMatrix thread

General discussion about web technology.
Post Reply
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: µMatrix thread

Post by Thrawn »

Yes, µMatrix scopes are much more flexible than eg RequestPolicy. I use µMatrix all the time now.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
yes_noscript

Re: µMatrix thread

Post by yes_noscript »

I found a bug with long domain names:
Image

test site: http://www.amonamarth.com/tour-dates
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:3.0) Goanna/20161008 PaleMoon/27.0.0b2
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

yes_noscript wrote:I found a bug with long domain names:
I think that's fair game for an issue on gorhill's issue tracker - https://github.com/gorhill/uMatrix/blob ... IBUTING.md

Do you have a Github account?
*Always* check the changelogs BEFORE updating that important software!
-
yes_noscript

Re: µMatrix thread

Post by yes_noscript »

Thanks, i open a bug entry

Edit: the bug is known since 11 May 2015: https://github.com/gorhill/uMatrix/issues/182
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:3.0) Goanna/20161008 PaleMoon/27.0.0b2
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

@gorhill: Is it intended that fetch() requests are categorised as "other"? Or should they be categorised as XHR?
*Always* check the changelogs BEFORE updating that important software!
-
gorhill
Junior Member
Posts: 48
Joined: Sun Mar 30, 2014 12:19 pm

Re: µMatrix thread

Post by gorhill »

barbaz wrote:@gorhill: Is it intended that fetch() requests are categorised as "other"? Or should they be categorised as XHR?
Should definitely be categorised as "xhr", this was fixed for uBO, forgot to fix for uMatrix.
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

Thanks gorhill! I confirm it's fixed in 0.9.9b4.

-----

Along with using the 0.9.9 betas, I've been experimenting with this rule -

Code: Select all

* * other block
I think that, in µMatrix 0.9.9b4 and up, it could be quite useful. Have yet to see if I'll need to allow 1st-party other by default.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
lakrsrool
Senior Member
Posts: 195
Joined: Wed Nov 12, 2014 4:20 pm

Re: µMatrix thread

Post by lakrsrool »

Why if I disable uMatrix does uMatrix still block parts of the page? --- for example if I've clicked on the "disable" button in the uMatrix interface I get this message below anyway (can't change font to highlight because I'll get a filter error (oops...) in this forum so it's the next two lines that uMatrix produces, I think italics will work so it's the next two lines in italics below that uMatrix produces even when disabled):

uMatrix has prevented the following page from loading:

http://www.google-analytics.com/analytics.js



Also, NoScript blocks the links that I click on that produced what I just posted above (in italics) when I've "allowed" everything in NoScript: http://webplayer.clipinteractive.com/pl ... _only=true (is blocked).

The uMatrix issue of blocking links even when disabled will be produced if you do not "allow" anything for NoScript on the "Listen Live" page (see reference below). If you do "allow" all on the "Listen Live" page then it will only be NoScript that blocks the player.

This is all on this website: http://www.am870theanswer.com/ and occurs when clicking on the "Listen Live" button.

I can use IE (without NoScript and uMatrix) and the "Listen Live" button plays just fine without any problems at all.

I would post screen-shots, but it's such a hassle to do this in the forum I'm hoping my explanations will suffice.

Basically what I'd like to know is how to "Listen Live" on this website using uMatrix and NoScript (without going into the browser add-ons list and totally disabling the add-ons from the add-ons list).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/3.2 Firefox/45.9 PaleMoon/27.2.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

How are you disabling µMatrix?

When I go to that site and click "Listen Live", it drops me on http://saleminteractivemedia.com/Listen ... yer/KRLAAM

And that player works for me with these NoScript permissions -

Code: Select all

+clipinteractive.com
+listenlive.co
+andomedia.com
+d1szeegdax03g4.cloudfront.net
+streamtheworld.com
+saleminteractivemedia.com
The µMatrix changes I needed were all just exceptions to my specific rules. I just used trial-and-error there, but you might also want to use the logger (click the µMatrix icon, then the list-looking icon on the far right of the popup).
lakrsrool wrote:uMatrix has prevented the following page from loading:

http://www.google-analytics.com/analytics.js
Not seeing this. But it probably means google-analytics is blocked by some hosts file you have in µMatrix.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
lakrsrool
Senior Member
Posts: 195
Joined: Wed Nov 12, 2014 4:20 pm

Re: µMatrix thread

Post by lakrsrool »

Thanks for the reply barbaz,

This is all on this website: http://www.am870theanswer.com/ and occurs when clicking on the "Listen Live" button

All NS requests allowed:
https://s20.postimg.org/v4io8n9kd/No_Sc ... ten_Li.png
uMatrix disabled via button (as illustrated) which should mean uMatrix is "disabled":
https://s20.postimg.org/tdzn75s19/u_Mat ... n_Live.png
What I get first after clicking "Listen Live" button:
https://s20.postimg.org/ceva5n67h/My_results_1.png
After Clicking on NoScript Icon in upper left corner of previous screen-shot (blocking video) I get this with links below:
https://s20.postimg.org/c3dtsvprh/after ... shot_g.png
After clicking on links below I get this from uMatrix (blocking site):
https://s20.postimg.org/5qyoj1mp9/if_I_ ... t_this.png
Why is uMatrix blocking anything if it is disabled?
Why is NoScript blocking anything when all requests were allowed?

I have no problem with website using browser w/out NoScript/uMatrix.

OFF TOPIC wrote: I can't even tag your name barbaz with a "font colour" without getting this:
Ooops, something in your posting triggered my antispam filter...
Please use the "Back" button to modify your content and retry.

.... and of course the "Back" button doesn't help because anything entered prior to message above is gone, so that instruction is irrelevant.

I know you can't do anything about this, but I cannot personally understand why those responsible for a forum can't fix it (not to mention the option to post images is not a function of the forum like all other forums. Sorry for complaining but to upload all of these images is frankly time consuming)

I do appreciate your invaluable contribution to the board of course Image
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/3.2 Firefox/45.9 PaleMoon/27.2.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

lakrsrool wrote:Thanks for the reply barbaz,

This is all on this website: http://www.am870theanswer.com/ and occurs when clicking on the "Listen Live" button
That's how I got that URL I posted. It's the same URL you got here - https://s20.postimg.org/ceva5n67h/My_results_1.png
lakrsrool wrote:uMatrix disabled via button (as illustrated) which should mean uMatrix is "disabled":
https://s20.postimg.org/tdzn75s19/u_Mat ... n_Live.png
Ah. You have disabled µMatrix only for am870theanswer.com. The player is not on "am870theanswer.com".
lakrsrool wrote:Why is NoScript blocking anything when all requests were allowed?
But...as you can see from the NoScript icon in this screenshot, the page is *not* allowed. Thus, what you see on the bottom is generated by NoScript's "Attempt to fix JavaScript links" feature. You can safely ignore those links.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
lakrsrool
Senior Member
Posts: 195
Joined: Wed Nov 12, 2014 4:20 pm

Re: µMatrix thread

Post by lakrsrool »

Thanks for your reply barbaz,

So then it comes down to how can I get the website to play the audio when as you see in my case it is blocked as illustrated by my 3rd and 4th screen-shots listed in my former post (apparently then blocked by NoScript and not uMartix as you point out, even though I've allowed all NS requests as far as I can tell)?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/3.2 Firefox/45.9 PaleMoon/27.2.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

First off, you need this rule in µMatrix -

Code: Select all

saleminteractivemedia.com webplayer.clipinteractive.com frame allow
Then check your NoScript menu again and make sure you've allowed all the sites I've listed above.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
lakrsrool
Senior Member
Posts: 195
Joined: Wed Nov 12, 2014 4:20 pm

Re: µMatrix thread

Post by lakrsrool »

barbaz wrote:First off, you need this rule in µMatrix -

Code: Select all

saleminteractivemedia.com webplayer.clipinteractive.com frame allow
Then check your NoScript menu again and make sure you've allowed all the sites I've listed above.
Thanks for your reply barbaz, so here we go again, I'm assuming adding a rule is using that part of uMatrix that I've illustrated in the screen-shot posted. https://s20.postimg.org/6slw4vmlp/u_Matrix_rules.png I've frankly never been able to figure out how this works as far as modifying, adding or deleting rules, that is how to add/remove or whatever as far as the rules. Can you please explain the steps to do this? I've tried "edit" but that takes me nowhere that I can see. Other options involving "import rules" doesn't make sense to me for this one specific rule and what is the point of "temporary" and "Permanent" rules. Is there any explanation on any of this anywhere?
OFFTOPIC wrote:If you don't mind me asking, how would one expect the "average user" to know (understand) that rule you posted and how to add it to uMartix? I don't mean to be disrespectful, but just an honest question if I may. ;) (I would add, I understand uMatrix is not meant for the "average user" presumably, but in the past (some time ago) I've worked in IT including programming and communications and I'm at a total loss, it would seem to me that uMatrix (and parts of NoScript as well) are in many respects limited to more Hi-tech users as opposed to just limited to what is generally perceived as the "average" user which in practice significantly limits the practical usage of these extensions. There I go again, sorry :roll: you must think I'm a chronic complainer :D)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/3.2 Firefox/45.9 PaleMoon/27.2.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: µMatrix thread

Post by barbaz »

That's partially explained in the OP of this thread. When you click "Edit", you will be able to type in the Temporary rules side. Paste in that line, then click "Save" to make it a temporary rule. Click "Commit" to make your temporary rules permanent.
lakrsrool wrote:If you don't mind me asking, how would one expect the "average user" to know (understand) that rule you posted and how to add it to uMartix?
I don't think even gorhill expects average user to know/understand that.
https://github.com/gorhill/uMatrix/ wrote:uMatrix

Definitely for advanced users.
[...]
uMatrix does not guarantee that sites will work fine: it is for advanced users [...]
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply