Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ tracking-enabled ones!
https://steamcommunity.com/linkfilter/?url=https://getfedora.org/
is changed to:
https://getfedora.org/
- youtube redirect
https://www.youtube.com/redirect?v=aGmiw_rrNxk&redir_token=Gnf1R0dVxo7OgDNUteKqmC5AtbZ8MTUzMzkzNjY4NEAxNTMzODUwMjg0&event=video_description&q=https%3A%2F%2Feff.org
is changed to:
https://www.eff.org/

# Comparison to other add-ons
Unlike other legacy add-ons like CleanLinks, Link Cleaner doesn't inject
Expand Down
4 changes: 4 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ const urls_to_param_mappers = [
},
{
urls: ["*://steamcommunity.com/linkfilter/*"]
},
{
urls: ["*://www.youtube.com/redirect*"],
param_name: 'q'
}
];

Expand Down
2 changes: 2 additions & 0 deletions test_urls.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.fsf.org%2Fcampaigns%2F&h=ATP1kf
https://out.reddit.com/t3_5pq7qd?url=https%3A%2F%2Finternethealthreport.org%2Fv01%2F&token=AQAAZV6JWHBBnIcVjV1wvxVg5gKyCQQSdUhGIvuEUmdPZhxhm8kH&app_name=reddit.com

https://steamcommunity.com/linkfilter/?url=https://getfedora.org/

https://www.youtube.com/redirect?v=aGmiw_rrNxk&redir_token=Gnf1R0dVxo7OgDNUteKqmC5AtbZ8MTUzMzkzNjY4NEAxNTMzODUwMjg0&event=video_description&q=https%3A%2F%2Feff.org