bestiejs/platform.js

Add support for UA Client Hints

bnjmnt4n opened this issue · 2 comments

My understanding of Client Hints is that everything happens through HTTP headers and there's really no space for JavaScript library to get involved in it? I saw the announcement by Chromium team that UA reduction is rolling out eventually which reminded me of this issue. If you have an idea supporting Client Hints somehow please do let me know and I might be able to help with needed changes, thanks a lot!

cf. User-Agent Reduction Origin Trial and Dates

Interested too: https://blog.chromium.org/2021/05/update-on-user-agent-string-reduction.html > "If your site, service, library or application relies on certain bits of information being present in the User Agent string such as Chrome minor version, OS version number, or Android device model, you will need to begin the migration to use the User Agent Client Hints API instead."