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

[request] add simplified browser name #545

Open
coolbombom opened this issue Apr 27, 2023 · 0 comments
Open

[request] add simplified browser name #545

coolbombom opened this issue Apr 27, 2023 · 0 comments

Comments

@coolbombom
Copy link

Thank you for a great tool.

I was wondering if it is possible to add browser to user_agent, i know that i can see the family, but i really want to be able to see family chrome mobile webview and chrome mobile as just chrome browser instead of handling each family type.

And i don't think doing a contains is well written code and therefore something i would like to stay away from.

example:

uas Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Mobile Safari/537.36 result in family = chrome mobile, version=87

uas Mozilla/5.0 (Linux; Android 13; SM-S918B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.101 Mobile Safari/537.36 result in family = chrome mobile webview, version=112

But both instances are chrome browser

use case:
In my case i'm trying to identify whether the browser meets bootstrap requirements. https://getbootstrap.com/docs/5.3/getting-started/browsers-devices/

kind regards
c_bb

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
@coolbombom and others