more tracking removal
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
This commit is contained in:
parent
2c55f8968c
commit
5f09a44dbb
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export function removeTracking(url: string): string {
|
|||
parsed.searchParams.delete('si'); // source identifier
|
||||
} else if (['heise.de', 'www.heise.de'].includes(parsed.host)) {
|
||||
parsed.searchParams.delete('wt_mc');
|
||||
} else if (['tagesschau.de'].includes(parsed.host)) {
|
||||
} else if (['tagesschau.de', 'www.tagesschau.de', 'zdf.de', 'www.zdf.de', 'br.de', 'www.br.de', 'ndr.de', 'www.ndr.de', 'swr3.de', 'www.swr3.de'].includes(parsed.host)) {
|
||||
parsed.searchParams.delete('at_medium');
|
||||
parsed.searchParams.delete('at_campaign');
|
||||
} else if (!isMobile && /\.m\.wikipedia\.org$/i.test(parsed.host)) {
|
||||
|
|
Loading…
Reference in a new issue