hyperfekt / webextension-remove-redirect

Some web pages use intermediary pages before redirecting to a final page. This add-on tries to extract the final url from the intermediary url and replaces the link with that.
https://addons.mozilla.org/en-US/firefox/addon/remove-redirect/
MIT License
21 stars 2 forks source link

Extract first instead of last URL? #9

Open hyperfekt opened 6 years ago

hyperfekt commented 6 years ago

See #3, some redirect URL schemes include a referrer in it, but it appears it mostly comes after the target URL. Maybe failure cases could be lowered by preferring earlier to later URLs when extracting.

Schemas that would be helped by this: t.umblr.com/redirect mouser.com/api/CrossDomain/GetContext Schemas that would be harmed by this: