diff --git a/source/Ox/js/String.js b/source/Ox/js/String.js index e510f9a4..1454c5f7 100644 --- a/source/Ox/js/String.js +++ b/source/Ox/js/String.js @@ -318,6 +318,7 @@ Ox.parseUserAgent = function(userAgent) { /(Opera) (\d+)/, /(Opera)\/.+Version\/(\d+)/, /(YandexBot)\/(\d+)/, + /(YandexMobileBot)\/(\d+)/, /Version\/(\d+).+(Safari)/ ], system: [ diff --git a/source/UI/UI.js b/source/UI/UI.js index cd134172..2b3620a5 100644 --- a/source/UI/UI.js +++ b/source/UI/UI.js @@ -45,7 +45,12 @@ Ox.load.UI = function(options, callback) { }, { name: 'YandexBot', - regexp: /(YandexBot)\/(\d+)\./, + regexp: /YandexBot\/(\d+)\./, + version: 3 + }, + { + name: 'YandexMobileBot', + regexp: /YandexMobileBot\/(\d+)\./, version: 3 }, {