tumpio / requestcontrol

A Firefox extension
https://addons.mozilla.org/addon/requestcontrol
Mozilla Public License 2.0
172 stars 25 forks source link

Idea: random redirect #170

Open anewuser opened 2 years ago

anewuser commented 2 years ago

My hypothetical "random redirect" rule looks like the current redirect rule, but it always has a minimum of two Redirect URL fields (with the option to add/remove an nth field).

Every time a request matches the input pattern, Request Control picks one of the destinations randomly:

random

Note that this mock-up has the Any type, but I meant to pick Sub document.

See LibRedirect for a list of examples where a list of possible destinations is useful.

Another example is using different image proxies to load images from third-party domains you don't want/can't connect to directly:

https://external-content.duckduckgo.com/iu/?u=  
https://images.weserv.nl/?url=
ghost commented 1 year ago

agreed, this extension could then replace LibRedirect (or farside.link with Redirector)