uMatrix icon indicating copy to clipboard operation
uMatrix copied to clipboard

[Request] Temporary site bypass like uBlock.

Open ghost opened this issue 11 years ago • 14 comments

uBlock relatively recently had the ability to temporarily click through a blocked page, and uMatrix has adopted a similar page layout, but without temp/permanent whitest.

I have some RSS feeds, and sometimes they have a page they go through (like CultOfMac FeedsPortal), and if I use uBlock I can bypass it quick enough to read that feed and be on my way. uBlock also trashes the exception quite quickly, whereas I often accumulate temp rules throughout the day/week if visiting one-off sites, and I sometimes make them permanent (I review the uncommitted rules, and if I will use a site frequently I allow it, and purge the rest).

On uMatrix you simply get a page blocked, with no op page options, and would have to make a temporary rule to unblock that domain/hostname, and view later. I figure that advanced users would know to do that, but it would be more convenient to have the same mechanism as uBlock, and have those temp rules purged quickly as uBlock does.

It is rare, but sometimes I do also find false-positives in the HOSTS files from time to time, but I like enabling them as they sort of act as a failsafe to me if I inadvertently allowed a domain on a site in the process of configuring.

ghost avatar May 14 '15 12:05 ghost

I didn't see the point of a temporary bypass, because even if one allows the root document to bypass matrix filtering, all the secondary resources for the site will be blocked, which means in all likelihood the page would be severely broken, which means one will have to play with the matrix anyways, hence no real time saving.

So this led to me wondering whether I offer to remove the block rule from the temporary ruleset, and then thinking about all the consequences, I figured this was leading to complications over complications (code-wise and UI-wise), so simplest solution in the end is to simply let the user remove the block rule.

gorhill avatar May 14 '15 13:05 gorhill

True, although in the case of redirect feed sites, that basically just redirect you server side, it in that case really isn't relevant in the case of the Matrix.

I usually get caught up on this on things like that, when content is locked behind such a technique and I have no way to bypass it.

MacUpdate is notorious for click throughs solely to track clicks.

ghost avatar May 14 '15 15:05 ghost

True, server-side redirect is a case where a one-time bypass would be useful -- grant passage, without cancelling a block rule from one of the hosts file. Ok, I will offer the choice for a one-time by pass (this won't modify the ruleset at all).

gorhill avatar May 14 '15 16:05 gorhill

possibly unrelated, but how about adding the little magnifying glass to show all of the url params too? didnt know it existed til i saw https://github.com/gorhill/uBlock/issues/973 but it seems to be uBlock only

This would be really useful to have. The current process isn't too hard - 3 clicks to open the UI, whitelist, and reload compared to uMatrix's 1 click - but sometimes they chain multiple redirects sites together which can be a pain.

Ineluctable avatar Nov 30 '15 23:11 Ineluctable

This is from may 2015 so nearly a year old when will it come?

rainbowdesign avatar Mar 01 '16 15:03 rainbowdesign

  • Click the uMatrix icon while on the blocked-document page
  • Remove the block rule for the site
  • Force a refresh

when will it come?

It's not a showstopper, "workaround" (quotes because this is the original solution as per design) is above.

gorhill avatar Mar 01 '16 15:03 gorhill

Oh i found which rule to remove i did not recognize it because in that field there is no item (cookie, script)... Its just not easy to see how to do this

rainbowdesign avatar Mar 01 '16 16:03 rainbowdesign

The page is blocked because the whole domain is blocked. It's just a matter of removing the block rule for the whole domain:

a

gorhill avatar Mar 01 '16 16:03 gorhill

Add the explanation and the screen to the the error message an i would consider the issue resolved ;)

rainbowdesign avatar Mar 01 '16 16:03 rainbowdesign

What about this box? It gives a hint for the normal user, who just want to visit the PlayStore.

umatrix

Here is the source code of the main-blocked.html. Since Github doesn't support *.html files, its a txt. main-blocked.txt

hydroid7 avatar Aug 15 '16 19:08 hydroid7

I didn't see the point of a temporary bypass, because even if one allows the root document to bypass matrix filtering, all the secondary resources for the site will be blocked, which means in all likelihood the page would be severely broken, which means one will have to play with the matrix anyways, hence no real time saving.

I don't see any broken pages in my case. As for this example there's no any rules which need user's interaction in uMatrix popup window!

I see two solutions to make users happy:

  • Enable the domain for fixed time (domain is an address with all the "secondary resources")
  • Enable the domain only for this page (better solution)

qwertier avatar Sep 23 '16 18:09 qwertier

Throwing in my own two cents, it took me quite a while to figure out that the row headers on the matrix doubled as a default value setters for the columns and as toggles for requests to the domains themselves.

Maybe the best solution to this issue involves a little reworking of the matrix UI, either an extra column, or some extra toggle, or something? Maybe something in that top row above the matrix...

dubitably avatar Nov 23 '16 16:11 dubitably

Closing -- Turns out I just won't spend time on this, like everything else, the matrix is where thing are worked on.

gorhill avatar Apr 25 '17 19:04 gorhill