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

navigator.getUserAgent is missing on new Canary version #83

Closed
galmeiri opened this issue Mar 12, 2020 · 2 comments
Closed

navigator.getUserAgent is missing on new Canary version #83

galmeiri opened this issue Mar 12, 2020 · 2 comments

Comments

@galmeiri
Copy link

Hi,

The navigator.getUserAgent() method is not implemented in the new Canary version 82.0.4084.0.
Is there any change in the planned implementation or the JS API usage?

@galmeiri
Copy link
Author

Is this the way we need to implement the User Agent JS interface now?

// Browser brand and its version
navigator.userAgentData.uaList[0]

// Other properties
navigator.userAgentData.getHighEntropyValues(["platform", "platformVersion", "architecture", "model"]).then(res => console.log(res))

@galmeiri galmeiri reopened this Mar 12, 2020
@yoavweiss
Copy link
Collaborator

Indeed. Following feedback, #70 has landed along with the corresponding Chromium change. Closing

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