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

Support navigator.userAgent #205

Closed
guest271314 opened this issue Dec 10, 2023 · 2 comments
Closed

Support navigator.userAgent #205

guest271314 opened this issue Dec 10, 2023 · 2 comments

Comments

@guest271314
Copy link

See wintercg/proposal-minimum-common-api#62 (comment).

@bellard
Copy link
Owner

bellard commented Dec 13, 2023

"navigator.userAgent" is a browser API and has no relation with QuickJS. You can use for example globalThis.hasOwnProperty("std") to test if the QuickJS C library is present.

@bellard bellard closed this as completed Dec 13, 2023
@guest271314
Copy link
Author

They're working on that Minimum Common API of Web API's proposal targeting non-browser runtimes. txiki.js is on board saghul/txiki.js#418. If you're not, cool. Thanks for bringing forth QuickJS. Have a great day.

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