mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
Add generator fingerprint for xenforo.
This commit is contained in:
parent
b4d1e0e81e
commit
9bd0e3ce58
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user