mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Remove tracking pixels first
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user