Remove tracking pixels first

pull/185/head
M66B 4 years ago
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…
Cancel
Save