Skip to content
tumpio edited this page Jun 29, 2017 · 2 revisions

This page includes links for testing redirection filtering and URL parameters trimming.

Thanks @Faberman for creating this test page!

Testing tools: HttpFox, Fiddler, Firefox Network Monitor, WireShark

redirection without parameters

1 https://steamcommunity.com/linkfilter/?url=https://addons.mozilla.org/
Pattern: steamcommunity.com linkfilter/?url=*
Target URL: https://addons.mozilla.org/
2 https://outgoing.prod.mozaws.net/v1/ca408bc92003166eec54f20e68d7c771ae749b005b72d054ada33f0ef261367d/https%3A//github.com/tumpio/requestcontrol
Pattern: outgoing.prod.mozaws.net *
Target URL: https://github.com/tumpio/requestcontrol
3 http://www.deviantart.com/users/outgoing?http://foobar2000.org
Pattern:*.deviantart.com *outgoing?*
Target URL: https://foobar2000.org
4 https://www.site2.com/chrome/?i-would-rather-use-firefox=https%3A%2F%2Fwww.mozilla.org/
Pattern: www.site2.com *?*=*
Target URL: https://www.mozilla.org/

redirection with parameters

5 https://site.com/away.php?to=https://github.com&cc_key=
Pattern:*.site.com *?to=*
Target URL: https://github.com
6 https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwiGvaeL1-HTAhUBP5oKHfDoDqQQFggrMAA&url=https%3A%2F%2Faddons.mozilla.org%2F&usg=AFQjCNGoTdPVJJYDmaDkKoFSpuasv6HVCg&cad=rjt
Pattern:*.google.* url?*
Target URL: https://addons.mozilla.org/
7 https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.fsf.org%2Fcampaigns%2F&h=ATP1kf98S0FxqErjoW8VmdSllIp4veuH2_m1jl69sEEeLzUXbkNXrVnzRMp65r5vf21LJGTgJwR2b66m97zYJoXx951n-pr4ruS1osMvT2c9ITsplpPU37RlSqJsSgba&s=1
Pattern:l.facebook.com *u=*
Target URL: https://www.fsf.org/campaigns/
8 https://out.reddit.com/t3_5pq7qd?url=https%3A%2F%2Finternethealthreport.org%2Fv01%2F&token=AQAAZV6JWHBBnIcVjV1wvxVg5gKyCQQSdUhGIvuEUmdPZhxhm8kH&app_name=reddit.com
Pattern: out.reddit.com *url=*
Target URL: https://internethealthreport.org/v01/
9 http://site3.com/?r=https%3A%2F%2Fwww.yr.no%2Fplace%2FNorway%2FNordland%2FBr%C3%B8nn%C3%B8y%2FBr%C3%B8nn%C3%B8ysund%2Fhour_by_hour.html?key=ms&ww=51802
Pattern: site3.com ?r=*
Target URL: https://www.yr.no/place/Norway/Nordland/Brønnøy/Brønnøysund/hour_by_hour.html

no redirection, only parameters

10 https://www.amazon.com/AmazonBasics-Type-C-USB-Male-Cable/dp/B01GGKYQ02/ref=sr_1_1?s=amazonbasics&srs=10112675011&ie=UTF8&qid=1489067885&sr=8-1&keywords=usb-c
Pattern:*.amazon.com *
Regex: {href/(.*?)ref=.*/$1}
Target URL: https://www.amazon.com/AmazonBasics-Type-C-USB-Male-Cable/dp/B01GGKYQ02/
11 https://www.ghacks.net/2017/04/30/firefox-nightly-marks-legacy-add-ons/?utm_source=feedburner&utm_medium=feed
URL parameters: utm_source, utm_medium
Target URL: https://www.ghacks.net/2017/04/30/firefox-nightly-marks-legacy-add-ons/
12 https://www.aliexpress.com/item/Xiaomi-Mini-Router-2-4GHz-5GHz-Dual-Band-Max-1167Mbps-Support-Wifi-802-11ac-Xiaomi-Mi/32773978417.html?ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10068_436_10136_10137_10157_10060_10138_10155_10062_10156_10154_10056_10055_10054_10059_10099_10103_10102_10096_10169_10147_10052_10053_10142_10107_10050_10051_9985_10084_10083_10080_10082_10081_10110_10111_10112_10113_10114_10181_10183_10182_10078_10079_10073_10070_10123-9985,searchweb201603_2,ppcSwitch_5&btsid=3f9443f8-38ad-472c-b6a6-00b8a3db74a3&algo_expid=8f505cf2-0671-4c52-b976-d7a3169da8bc-6&algo_pvid=8f505cf2-0671-4c52-b976-d7a3169da8bc
URL parameters: ws_ab_test, btsid, algo_expid, algo_pvid
Target URL: https://www.aliexpress.com/item/Xiaomi-Mini-Router-2-4GHz-5GHz-Dual-Band-Max-1167Mbps-Support-Wifi-802-11ac-Xiaomi-Mi/32773978417.html
13 http://forums.mozillazine.org/viewtopic.php?sid=6fa91cda58212e7e869dc2022b9e6217&f=48&t=1920191
http://forums.mozillazine.org/viewtopic.php?f=48&sid=6fa91cda58212e7e869dc2022b9e6217&t=1920191
http://forums.mozillazine.org/viewtopic.php?f=48&t=1920191&sid=6fa91cda58212e7e869dc2022b9e6217
URL parameters: sid
Target URL: http://forums.mozillazine.org/viewtopic.php?f=48&t=1920191

misc.

14 https://www.dropbox.com/s/vm2mh2lkwsug4gt/rick_morty_at.png?dl=0
Pattern:*.dropbox.com *
Regex: {href/^https?:\/\/www\.dropbox\.com(\/s\/.+\/.+)\?dl=\d$/https://dl.dropboxusercontent.com$1}
Target URL: https://dl.dropboxusercontent.com/s/vm2mh2lkwsug4gt/rick_morty_at.png
Clone this wiki locally