mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Remove Gmail signatures
This commit is contained in:
@@ -2736,6 +2736,10 @@ public class HtmlHelper {
|
||||
}
|
||||
|
||||
static void removeSignatures(Document d) {
|
||||
// <div data-smartmail="gmail_signature">
|
||||
// <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
|
||||
d.body().select("[data-smartmail=gmail_signature]").remove();
|
||||
|
||||
d.body().filter(new NodeFilter() {
|
||||
private boolean remove = false;
|
||||
private boolean noremove = false;
|
||||
|
||||
Reference in New Issue
Block a user