Add support to Chrome Headless user agent

This commit is contained in:
Ron Korland
2017-04-13 16:42:04 +03:00
parent 764de40fe0
commit 552915907e
2 changed files with 13 additions and 0 deletions

View File

@@ -274,6 +274,9 @@
/xiaomi\/miuibrowser\/([\w\.]+)/i // MIUI Browser
], [VERSION, [NAME, 'MIUI Browser']], [
/(headlesschrome) ([\w\.]+)/i // Chrome Headless
], [VERSION, [NAME, 'Chrome Headless']], [
/\swv\).+(chrome)\/([\w\.]+)/i // Chrome WebView
], [[NAME, /(.+)/, '$1 WebView'], VERSION], [