Fix #730 - Improve browser detection: DuckDuckGo

This commit is contained in:
Faisal Salman
2024-05-23 18:12:02 +07:00
parent d0db40c290
commit e87c794fd9
2 changed files with 12 additions and 0 deletions

View File

@@ -320,6 +320,8 @@
/(heytap|ovi)browser\/([\d\.]+)/i, // HeyTap/Ovi
/(weibo)__([\d\.]+)/i // Weibo
], [NAME, VERSION], [
/\bddg\/([\w\.]+)/i // DuckDuckGo
], [VERSION, [NAME, 'DuckDuckGo']], [
/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i // UCBrowser
], [VERSION, [NAME, 'UCBrowser']], [
/microm.+\bqbcore\/([\w\.]+)/i, // WeChat Desktop for Windows Built-in Browser