mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-07 21:54:35 +08:00
Strip mailchimp tracking
This commit is contained in:
parent
d33ca12b46
commit
874bfa852b
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ const
|
|||
.replace(/tracking\.(printabout\.nl[^?]+)\?.*/i, (...m) => m[1])
|
||||
.replace(/(zalando\.nl[^?]+)\?.*/i, (...m) => m[1])
|
||||
.replace(/^.+(awstrack\.me|redditmail\.com)\/.+(https:%2F%2F[^/]+).*/i, (...m) => decodeURIComponent(m[2]))
|
||||
.replace(/^.+(www\.google|safelinks\.protection\.outlook\.com).+$/i, () => urlGetParam(url, 'url'))
|
||||
.replace(/^.+(www\.google|safelinks\.protection\.outlook\.com|mailchimp\.com).+url=.+$/i,
|
||||
() => urlGetParam(url, 'url'))
|
||||
.replace(/^.+delivery-status\.com.+$/i, () => urlGetParam(url, 'fb'))
|
||||
.replace(/^.+go\.dhlparcel\.nl.+\/([A-Za-z0-9_-]+)$/i, (...m) => base64Url(m[1]))
|
||||
.replace(/^(.+mopinion\.com.+)\?.*$/i, (...m) => m[1])
|
||||
|
|
Loading…
Add table
Reference in a new issue