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

Add Brave Browser check #56

Open
JulianKowalczuk opened this issue Jul 5, 2021 · 0 comments
Open

Add Brave Browser check #56

JulianKowalczuk opened this issue Jul 5, 2021 · 0 comments

Comments

@JulianKowalczuk
Copy link

Brave Browser uses same name and user agent like Chrome.

Since Brave is quite popular alternative to Chrome, it would be nice to handle that, because even tough, many Web APIs in Brave are restricted (like SpeechRecognition API, thats why I need Your package to check that)

The solution is described below:
(navigator.brave && await navigator.brave.isBrave() || false)
https://www.ctrl.blog/entry/brave-user-agent-detection.html

I found similar package to Your one and created similar issue.

I think good option would be merging You packages into one.

https://github.com/tomaschyly/web_browser_detect

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

1 participant