Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YaSearchApp #103

Open
worldvp opened this issue Dec 24, 2024 · 5 comments
Open

YaSearchApp #103

worldvp opened this issue Dec 24, 2024 · 5 comments

Comments

@worldvp
Copy link

worldvp commented Dec 24, 2024

Mozilla/5.0 (Linux; arm_64; Android 12; 22095RA98C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.817 YaSearchBrowser/24.122.1 BroPP/1.0 YaSearchApp/24.122.1 webOmni SA/3 Mobile Safari/537.36

Mozilla/5.0 (Linux; arm; Android 12; RMX3690) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.616 YaSearchBrowser/24.73.1 BroPP/1.0 YaSearchApp/24.73.1 webOmni SA/3 Mobile Safari/537.36

The code lacks support for Yandex browser

@donatj
Copy link
Owner

donatj commented Dec 24, 2024

I'm not entirely certain what that UA is, some sort of search bot I suspect.

Yandex proper works correctly

Screenshot_20241224-165043

@worldvp
Copy link
Author

worldvp commented Dec 24, 2024

изображение

@donatj
Copy link
Owner

donatj commented Dec 25, 2024

Seems like it's a voice assistant

matomo-org/device-detector#6344

@worldvp
Copy link
Author

worldvp commented Dec 25, 2024

Mozilla/5.0 (Linux; arm_64; Android 10; DNN-LX9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.509 YaApp_Android/24.65.1 YaSearchBrowser/24.65.1 BroPP/1.0 SA/3 Mobile Safari/537.36

Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 YaBrowser/24.10.3.675.10 YaApp_iOS/2410.3 YaApp_iOS_Browser/2410.3 Safari/604.1 SA/3

Mozilla/5.0 (Linux; arm_64; Android 13; TECNO KI7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.82 YaBrowser/24.12.2.82.00 SA/3 Mobile Safari/537.36

Mozilla/5.0 (Linux; arm_64; Android 13; TECNO KJ5n) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.680 YaSearchBrowser/24.122.1 BroPP/1.0 YaSearchApp/24.122.1 webOmni SA/3 Mobile Safari/537.36

Mozilla/5.0 (Linux; arm_64; Android 9; Redmi Note 6 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.98 YaBrowser/24.12.1.98.00 SA/3 Mobile Safari/537.36

I'll test YaSearchBrowser

@worldvp
Copy link
Author

worldvp commented Dec 25, 2024

I updated two parts of the code:

|YaBrowser|YaSearchBrowser|YandexSearchBrowser|Vivaldi|

and
'YaBrowser' => 'Yandex', 'YaSearchBrowser' => 'Yandex', 'YandexSearchBrowser' => 'Yandex',

I also removed the string "YaApp_Android".

Now everything works correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants