diff --git a/source/Ox/js/String.js b/source/Ox/js/String.js index d66ed38a..e510f9a4 100644 --- a/source/Ox/js/String.js +++ b/source/Ox/js/String.js @@ -317,6 +317,7 @@ Ox.parseUserAgent = function(userAgent) { /(NokiaBrowser)\/(\d+)/, /(Opera) (\d+)/, /(Opera)\/.+Version\/(\d+)/, + /(YandexBot)\/(\d+)/, /Version\/(\d+).+(Safari)/ ], system: [ diff --git a/source/UI/UI.js b/source/UI/UI.js index 52eb26e0..cd134172 100644 --- a/source/UI/UI.js +++ b/source/UI/UI.js @@ -43,6 +43,11 @@ Ox.load.UI = function(options, callback) { regexp: /Googlebot\/(\d+)\./, version: 2 }, + { + name: 'YandexBot', + regexp: /(YandexBot)\/(\d+)\./, + version: 3 + }, { name: 'Internet Explorer', url: 'http://windows.microsoft.com/en-US/internet-explorer/products/ie/home',