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

Instruct to enable file system API on Brave #80

Open
kjk opened this issue Oct 16, 2024 · 1 comment
Open

Instruct to enable file system API on Brave #80

kjk opened this issue Oct 16, 2024 · 1 comment

Comments

@kjk
Copy link
Owner

kjk commented Oct 16, 2024

Brave has file system api disabled by default.

Can be enabled by going to brave://flags/#file-system-access-api and changing the flag.

Should detect Brave and tell users that.

@kjk
Copy link
Owner Author

kjk commented Oct 16, 2024

await navigator.brave.isBrave()

(navigator.brave && typeof navigator.brave.isBrave === "function")

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