Skip to content

Detecting Brave (for Websites)

Shivan Kaul Sahib edited this page Aug 23, 2023 · 3 revisions

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.

Clone this wiki locally