mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Improved stripTracking
This commit is contained in:
parent
f9e0cc40a4
commit
ddbe6b2a75
1 changed files with 2 additions and 2 deletions
|
|
@ -43,6 +43,7 @@ const
|
|||
.replace(/^.+(www\.google|safelinks\.protection\.outlook\.com).+$/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])
|
||||
// Mandrill
|
||||
.replace(/^.+\/track\/click\/.+\?p=.+$/i, () => {
|
||||
let d = urlGetParam(url, 'p');
|
||||
|
|
@ -293,8 +294,7 @@ export const
|
|||
|| [
|
||||
'email.microsoftemail.com/open',
|
||||
'github.com/notifications/beacon/',
|
||||
'mandrillapp.com/track/open',
|
||||
'list-manage.com/track/open',
|
||||
'/track/open', // mandrillapp.com list-manage.com
|
||||
'google-analytics.com'
|
||||
].filter(uri => value.toLowerCase().includes(uri)).length
|
||||
)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue