gorhill / httpswitchboard

Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.
GNU General Public License v3.0
1.33k stars 84 forks source link

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

Open gorhill opened 10 years ago

gorhill commented 10 years ago

Suggested through email:

One nice thing about RequestPolicy, to probably take inspiration from, is the overlay/popup when a redirect is about to happen but blocked. In RequestPolicy you can just press Alt+A (Cmd+A) to follow the redirect. This is nice for temporary or one-off ACCEPT of redirects like with sourceforge.net.

harshanvn commented 10 years ago

this should be a nice feature enhancement. Websites like www.lenevo.com can be handled easily.

gorhill commented 10 years ago

Test case: http://evil.hackademix.net/hsb/

Context: http://forums.informaction.com/viewtopic.php?f=8&t=7020&sid=0cad8d593a2ad34a86fc9cb262d19c4b&start=30#p68784

Insight: the case here is less of an issue than it appears, given data uri in chromium-based browsers each have their own unique origin. Also, intercepting redirect is not a catch all solution given a data uri can also be used as a link for an <a> tag.