yandex mobile

This commit is contained in:
j 2016-11-25 22:34:17 +01:00
parent 34f8ca479a
commit e288749077
2 changed files with 7 additions and 1 deletions

View file

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

View file

@ -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
},
{