Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 530 Bytes

Detecting-Brave-(for-Websites).md

File metadata and controls

3 lines (2 loc) · 530 Bytes

Brave uses the same User Agent request header as Chromium for web compatibility reasons. We also expose Brave in the Sec-Ch-Ua header. In testing, we found that some websites broke on encountering an uncommon User Agent.

If you want to detect Brave, please use the navigator.brave.isBrave() JavaScript API. Note that we make this API unavailable for websites that block or discriminate against Brave users.