This commit is contained in:
j 2016-11-25 22:28:30 +01:00
parent 927678e6be
commit 34f8ca479a
2 changed files with 6 additions and 0 deletions

View file

@ -317,6 +317,7 @@ Ox.parseUserAgent = function(userAgent) {
/(NokiaBrowser)\/(\d+)/, /(NokiaBrowser)\/(\d+)/,
/(Opera) (\d+)/, /(Opera) (\d+)/,
/(Opera)\/.+Version\/(\d+)/, /(Opera)\/.+Version\/(\d+)/,
/(YandexBot)\/(\d+)/,
/Version\/(\d+).+(Safari)/ /Version\/(\d+).+(Safari)/
], ],
system: [ system: [

View file

@ -43,6 +43,11 @@ Ox.load.UI = function(options, callback) {
regexp: /Googlebot\/(\d+)\./, regexp: /Googlebot\/(\d+)\./,
version: 2 version: 2
}, },
{
name: 'YandexBot',
regexp: /(YandexBot)\/(\d+)\./,
version: 3
},
{ {
name: 'Internet Explorer', name: 'Internet Explorer',
url: 'http://windows.microsoft.com/en-US/internet-explorer/products/ie/home', url: 'http://windows.microsoft.com/en-US/internet-explorer/products/ie/home',