8
24
Fork
You've already forked nuMatrix
4

Block redirects and let user choose whether to proceed or not #20

Closed
opened 2014年10月27日 21:02:38 +01:00 by luxoflux · 13 comments
luxoflux commented 2014年10月27日 21:02:38 +01:00 (Migrated from github.com)
Copy link

I'm copying issue #200 over from HTTPSB.

Basically, we need a way to intercept redirects, and have options to allow or deny, whitelist, blacklist, or what have you (up for discussion), with the ultimate aim of putting it under the user's control and consent.

"Ideally the extension should redirect to a blank page with a link and inform the user a page is trying to redirect." [1]

I'm copying issue [#200](https://github.com/gorhill/httpswitchboard/issues/200) over from HTTPSB. Basically, we need a way to intercept redirects, and have options to allow or deny, whitelist, blacklist, or what have you (up for discussion), with the ultimate aim of putting it under the user's control and consent. "Ideally the extension should redirect to a blank page with a link and inform the user a page is trying to redirect." <sup>[[1]](http://www.wilderssecurity.com/threads/umatrix-the-http-switchboard-successor.369601/page-2#post-2421841)</sup>
WagnerGMD commented 2015年07月16日 04:30:39 +02:00 (Migrated from github.com)
Copy link

Right now, the ultimate aim seem's far away... The blank page has only one control : one close button...
In fact, it will be nice to add some options (now). A (simple) way to disable uMatrix ? By a right click (on the uMatrix icon), the user will have the choice (one tab or fully ?).
I assume, many users don't want to create a rule each time they met a redirect.

Otherwise, you could also think to add one feature like a redirect cleaner ? Maybe you could clean the redirect and provide a link ? And add this (clean) link inside the inform ?

Right now, the ultimate aim seem's far away... The blank page has only one control : one close button... In fact, it will be nice to add some options (now). A (simple) way to disable uMatrix ? By a right click (on the uMatrix icon), the user will have the choice (one tab or fully ?). I assume, many users don't want to create a rule each time they met a redirect. Otherwise, you could also think to add one feature like a redirect cleaner ? Maybe you could clean the redirect and provide a link ? And add this (clean) link inside the inform ?
0xBRM commented 2015年07月16日 20:54:52 +02:00 (Migrated from github.com)
Copy link

I suppose a toggle under 'strict https' would be nice addition since it's still bound by the scopes.

I suppose a toggle under 'strict https' would be nice addition since it's still bound by the scopes.
WagnerGMD commented 2015年07月24日 11:17:52 +02:00 (Migrated from github.com)
Copy link

Since the v0.19pre0, Policeman has introduced a way to handle a redirect. You should maybe take a look. Maybe you don't have any idea to add such feature ? From my point of view, it's a good way (or a source of inspiration).

Since the v0.19pre0, [Policeman](https://github.com/futpib/policeman/releases/) has introduced a way to handle a redirect. You should maybe take a look. Maybe you don't have any idea to add such feature ? From my point of view, it's a good way (or a source of inspiration).
gorhill commented 2015年07月24日 13:45:15 +02:00 (Migrated from github.com)
Copy link

Maybe you don't have any idea to add such feature ?

Yes I have an idea, and no I do not need to look at anybody else's code.

> Maybe you don't have any idea to add such feature ? Yes I have an idea, and no I do not need to look at anybody else's code.
WagnerGMD commented 2015年07月28日 21:42:49 +02:00 (Migrated from github.com)
Copy link

It seem's that you made a mistake. Because it's just a question and a suggestion (nothing else, nothing more). It's normal to ask a question or to try to understand.

It seem's that you made a mistake. Because it's just a question and a suggestion (nothing else, nothing more). It's normal to ask a question or to try to understand.
ldgbc commented 2015年09月19日 14:31:16 +02:00 (Migrated from github.com)
Copy link

For references, RequestPolicyContinue support redirect blocking.

For references, RequestPolicyContinue support redirect blocking.
wolph commented 2015年12月29日 19:24:40 +01:00 (Migrated from github.com)
Copy link

Is there any progress on this? It's quite annoying that I have to create a new rule for these sites and/or disable uMatrix completely for these urls to work. I don't want to enable these sites forever, but when they're the 1st party/redirect host, they should get whitelisted or even better, an "allow once" button.

To test, just try any of the product links on this site: https://www.1dagskoopjes.nl/

They all result in the following for me:

This webpage is not available
ERR_ADDRESS_UNREACHABLE
Is there any progress on this? It's quite annoying that I have to create a new rule for these sites and/or disable uMatrix completely for these urls to work. I don't want to enable these sites forever, but when they're the 1st party/redirect host, they should get whitelisted or even better, an "allow once" button. To test, just try any of the product links on this site: https://www.1dagskoopjes.nl/ They all result in the following for me: ``` This webpage is not available ERR_ADDRESS_UNREACHABLE ```
polyzen commented 2015年12月29日 22:44:06 +01:00 (Migrated from github.com)
Copy link

@WoLpH, RefControl does the job well. Will have to take a look at RequestPolicyContinued..

Edit: Woops. Totally different purpose ;p

@WoLpH, [RefControl](http://www.stardrifter.org/refcontrol/) does the job well. Will have to take a look at RequestPolicyContinued.. Edit: Woops. Totally different purpose ;p
ldgbc commented 2016年01月03日 01:55:36 +01:00 (Migrated from github.com)
Copy link

It seem uMatrix does support redirect control now but it require using Filter list rather than "on-the-fly" method.

For reference, @polyzen mention RefControl: Note that RefControl just allow you to modify URL header (which URL you click on to open this page) and is not relate to this issue.

It seem uMatrix does support redirect control now but it require using Filter list rather than "on-the-fly" method. For reference, @polyzen mention RefControl: Note that RefControl just allow you to modify URL header (which URL you click on to open this page) and is not relate to this issue.
RyanTG commented 2016年01月31日 03:57:31 +01:00 (Migrated from github.com)
Copy link

I just switched from RequestPolicy Continued, and I'm missing the ability to allow/block redirects. I'd love to see that added to uMatrix. Otherwise, uMatrix is great! The UI is well done. Thanks, folks.

I just switched from RequestPolicy Continued, and I'm missing the ability to allow/block redirects. I'd love to see that added to uMatrix. Otherwise, uMatrix is great! The UI is well done. Thanks, folks.
Thorin-Oakenpants commented 2016年01月31日 09:20:45 +01:00 (Migrated from github.com)
Copy link

For those missing the ability to allow/block redirects, until/if this feature is added to uMatrix, I recommend NoRedirect ( https://addons.mozilla.org/en-US/firefox/addon/noredirect/ ). It's pretty straightforward. It applies rules from the top down. And you can use Regex if you want. From Options in Add-ons panel, add .* as "Source" as your bottom rule (this is a default deny), then add domains above it as "Allow" eg I have *arstechnica.com* and other news sites that redirect from an rss feeds in my RSS newsreader.

For those missing the ability to allow/block redirects, until/if this feature is added to uMatrix, I recommend NoRedirect ( https://addons.mozilla.org/en-US/firefox/addon/noredirect/ ). It's pretty straightforward. It applies rules from the top down. And you can use Regex if you want. From Options in Add-ons panel, add `.*` as "Source" as your bottom rule (this is a default deny), then add domains above it as "Allow" eg I have `*arstechnica.com*` and other news sites that redirect from an rss feeds in my RSS newsreader.
Haven667 commented 2016年02月03日 00:56:45 +01:00 (Migrated from github.com)
Copy link

There is also the extension Redirect Control (https://addons.mozilla.org/firefox/addon/redirect-control), which is very similar to the redirect feature in RequestPolicy (Continued). It works very good in combination with uMatrix for me.

There is also the extension **Redirect Control** (https://addons.mozilla.org/firefox/addon/redirect-control), which is very similar to the redirect feature in **RequestPolicy** (**Continued**). It works very good in combination with **uMatrix** for me.
arek added this to the (deleted) project 2023年10月29日 22:48:03 +01:00

The general advice is still to use an addon specifically aimed at controlling redirects. A feature has been added which allows to temporary unblock a domain when a redirect has been blocked.

The general advice is still to use an addon specifically aimed at controlling redirects. A feature has been added which allows to temporary unblock a domain when a redirect has been blocked.
This discussion has been locked. Commenting is limited to contributors.
No Branch/Tag specified
master
dev
v0.1.2
v0.1
0.0.0.8b
0.0.0.7b
0.0.0.5b
0.0.0.4b
0.0.0.3b
0.0.0.2b
0.0.0.1b
1.4.3b0
1.4.2
1.4.1b6
1.4.1b5
1.4.1b4
1.4.0
1.3.17b2
1.3.17b1
1.3.16
1.3.14
1.3.12
1.3.10
1.3.8
1.3.6
1.3.4
1.3.3b9
1.3.3b8
1.3.2
1.3.0
1.2.0
1.1.20
1.1.18
1.1.16
1.1.14
1.1.12
1.1.11b0
1.1.10
1.1.8
1.1.7rc0
1.1.7b0
1.1.6
1.1.4
1.1.0
1.0.0
0.9.3.6
0.9.3.4
0.9.3.3
0.9.3.2
0.9.3.1
0.9.3.0
0.9.2.1
0.9.2.0
0.9.1.2
0.9.1.1
0.9.1.0
0.9.0.1
0.9.0.0
0.8.1.4
0.8.1.3
0.8.1.1
0.8.1.0
0.8.0.1
0.8.0.0
0.8.0.0-rc.2
0.8.0.0-rc.1
0.8.0.0-rc.0
0.8.0.0-alpha.19
0.8.0.0-alpha.18
0.8.0.0-alpha.17
0.8.0.0-alpha.16
0.8.0.0-alpha.15
0.8.0.0-alpha.14
0.8.0.0-alpha.11
0.8.0.0-alpha.10
0.8.0.0-alpha.9
0.8.0.0-alpha.8
0.8.0.0-alpha.7
0.8.0.0-alpha.6
0.8.0.0-alpha.4
0.8.0.0-alpha.3
0.8.0.0-alpha.2
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
arek/nuMatrix#20
Reference in a new issue
arek/nuMatrix
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?