Backport - Improve browser detection: Maxthon

(cherry picked from commit 246c038895)
This commit is contained in:
Faisal Salman
2024-12-21 13:06:53 +07:00
parent d9c68a775d
commit dcca2eb0d4
2 changed files with 63 additions and 1 deletions

View File

@@ -232,6 +232,8 @@
// Mixed
/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i // Baidu
], [VERSION, [NAME, 'Baidu']], [
/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i // Maxthon
], [VERSION, [NAME, 'Maxthon']], [
/(kindle)\/([\w\.]+)/i, // Kindle
/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,
// Lunascape/Maxthon/Netfront/Jasmine/Blazer/Sleipnir