Open daryakorobkova opened 4 years ago
так яндекс браузер построен на основе chromium правильно определяется
@vodnicearv you wrong. Opera also built on top of chromium, but detects as Opera
Agent {#659 ▼
#cache: array:13 [▶]
#userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 OPR/76.0.4017.177"
#httpHeaders: array:22 [▶]
#cloudfrontHeaders: []
#matchingRegex: "Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+|Opera|OPR"
#matchesArray: array:1 [▼
0 => "OPR"
]
#detectionType: "extended"
}
так яндекс браузер построен на основе chromium правильно определяется
Look at what user agent you are passing if you use YaBrowser. Just in case:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 YaBrowser/24.1.0.0 Safari/537.36
In this case we see that:
Chrome/120.0.0.0
YaBrowser/24.1.0.0
Safari/537.36
Agent {#244 ▼
cache: []
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 YaBrowser/19.12.0.769 Yowser/2.5 Safari/537.36"
httpHeaders: []
cloudfrontHeaders: []
matchingRegex: "Chrome|\bCrMo\b|CriOS|Android.Chrome/[.0-9] (Mobile)?"
matchesArray: array:1 [▼
]
detectionType: "mobile"
}