yandex mobile
This commit is contained in:
parent
34f8ca479a
commit
e288749077
2 changed files with 7 additions and 1 deletions
|
@ -318,6 +318,7 @@ Ox.parseUserAgent = function(userAgent) {
|
||||||
/(Opera) (\d+)/,
|
/(Opera) (\d+)/,
|
||||||
/(Opera)\/.+Version\/(\d+)/,
|
/(Opera)\/.+Version\/(\d+)/,
|
||||||
/(YandexBot)\/(\d+)/,
|
/(YandexBot)\/(\d+)/,
|
||||||
|
/(YandexMobileBot)\/(\d+)/,
|
||||||
/Version\/(\d+).+(Safari)/
|
/Version\/(\d+).+(Safari)/
|
||||||
],
|
],
|
||||||
system: [
|
system: [
|
||||||
|
|
|
@ -45,7 +45,12 @@ Ox.load.UI = function(options, callback) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'YandexBot',
|
name: 'YandexBot',
|
||||||
regexp: /(YandexBot)\/(\d+)\./,
|
regexp: /YandexBot\/(\d+)\./,
|
||||||
|
version: 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'YandexMobileBot',
|
||||||
|
regexp: /YandexMobileBot\/(\d+)\./,
|
||||||
version: 3
|
version: 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue