Block tracking pixel of 2px as found in #234

This commit is contained in:
the-djmaze 2022-02-15 10:46:42 +01:00
parent ec23b61e14
commit 301413020c

View file

@ -223,8 +223,8 @@ export const
if (detectHiddenImages
&& 'IMG' === name
&& (('' != getAttribute('height') && 2 > pInt(getAttribute('height')))
|| ('' != getAttribute('width') && 2 > pInt(getAttribute('width')))
&& (('' != getAttribute('height') && 3 > pInt(getAttribute('height')))
|| ('' != getAttribute('width') && 3 > pInt(getAttribute('width')))
|| [
'email.microsoftemail.com/open',
'github.com/notifications/beacon/',