mirror of https://github.com/M66B/FairEmail.git
Skip dns-prefetch images
This commit is contained in:
parent
3304345871
commit
c213cb3e56
|
@ -550,6 +550,10 @@ public class ContactInfo {
|
|||
|
||||
List<Future<Bitmap>> futures = new ArrayList<>();
|
||||
for (Element img : imgs) {
|
||||
// https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch
|
||||
if ("dns-prefetch".equals(img.attr("rel"))) // gmx.net
|
||||
continue;
|
||||
|
||||
String favicon = ("link".equals(img.tagName())
|
||||
? img.attr("href")
|
||||
: img.attr("content"));
|
||||
|
|
Loading…
Reference in New Issue