mirror of https://github.com/M66B/FairEmail.git
Remove tracking pixels first
This commit is contained in:
parent
68b264646f
commit
e111f8fec5
|
@ -442,6 +442,10 @@ public class HtmlHelper {
|
|||
|
||||
boolean dark = Helper.isDarkTheme(context);
|
||||
|
||||
// Remove tracking pixels
|
||||
if (disable_tracking)
|
||||
removeTrackingPixels(context, document, false);
|
||||
|
||||
// Font
|
||||
for (Element font : document.select("font")) {
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font
|
||||
|
@ -802,10 +806,6 @@ public class HtmlHelper {
|
|||
for (Element hf : document.select("thead,tfoot"))
|
||||
hf.tagName("span");
|
||||
|
||||
// Remove tracking pixels
|
||||
if (disable_tracking)
|
||||
removeTrackingPixels(context, document, false);
|
||||
|
||||
// Images
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
|
||||
for (Element img : document.select("img")) {
|
||||
|
|
Loading…
Reference in New Issue