Add generator fingerprint for xenforo.

This commit is contained in:
Viktor Lofgren 2023-07-01 14:04:48 +02:00
parent b4d1e0e81e
commit 9bd0e3ce58

View File

@ -92,6 +92,10 @@ public class DocumentGeneratorExtractor {
return DocumentGenerator.of("flarum");
}
if (doc.getElementById("_xfClientLoadTime") != null) {
return DocumentGenerator.of("xenforo");
}
return DocumentGenerator.unset();
}
@ -168,7 +172,7 @@ public class DocumentGeneratorExtractor {
"notepad", "namo", "arachnophilia", "scite",
"alleycode", "htmlkit", "acehtml", "bluefish", "htmled", "cutehtml", "fileedit", "cocoa"
-> GeneratorType.MANUAL;
case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe", "discourse", "lemmy"
case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe", "discourse", "lemmy", "xenforo"
-> GeneratorType.FORUM;
case "mediawiki", "dokuwiki", "sharepoint"
-> GeneratorType.WIKI;