gorhill / uMatrix

uMatrix: Point and click matrix to filter net requests according to source, destination and type
GNU General Public License v3.0
4.55k stars 470 forks source link

Some entries are only briefly shown in uMatrix #951

Closed stonie08 closed 5 years ago

stonie08 commented 6 years ago

On some websites, hosts for scripts and also the number indicators are only shown briefly in the uMatrix window (due to redirects or similar), making it very hard to allow them. At the moment it's required to either add the entries manually or allow all of the website, specifically allow the problematic entries and revoking the overall clearance.

One example (the most recent I encountered) is https://aar.ark-group.org/ . Iirc I had the same problem with amazon support chat windows. Steps to reproduce:

When clicking on any of the entries in the list uMatrix will very briefly show a 1 at the XHR field for aar.ark-group.org and a titanmods.xyz host indicating there are scripts from that site as well. Because they are only listed for such a short time, and only after one clicked on any of the entries on the list on the website, one has a very hard time to actually check what's missing on the site and allow it, without granting permissions for everything. The log gives an indicator on it, but doesn't allow for selectively allowing hosts like the normal uMatrix view does.

gorhill commented 6 years ago

Use the logger in such case, you can bring the popup panel from the logger: https://github.com/gorhill/uMatrix/wiki/How-to-access-the-popup-panel-when-there-is-no-toolbar.

gorhill commented 6 years ago

Never mind, the logger does not help in the current case.

gorhill commented 6 years ago

I am going to add a dropdown list for the 3rd-cell in the logger, from which one can click a rule to add to the temporary ruleset:

Source Destination Type
aar.ark-group.org r3tiles-a.titanmods.xyz xhr
aar.ark-group.org r3tiles-a.titanmods.xyz *
aar.ark-group.org titanmods.xyz xhr
aar.ark-group.org titanmods.xyz *
ark-group.org r3tiles-a.titanmods.xyz xhr
ark-group.org r3tiles-a.titanmods.xyz *
ark-group.org titanmods.xyz xhr
ark-group.org titanmods.xyz *
* r3tiles-a.titanmods.xyz xhr
* r3tiles-a.titanmods.xyz *
* titanmods.xyz xhr
* titanmods.xyz *
stonie08 commented 6 years ago

Thanks for the fast response. Clicking on the second cell opens the pop-up panel for that specific request (kind of). I think it'd look cleaner to have these entries in the popup-panel in the logger as well, as the rest of the design is indicating this behavior: All affected entries in the logger remain black/red, while unrelated entries turn grey.

gorhill commented 5 years ago

a