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

User-Agent string in embedded TV browsers #47

Open
chrisn opened this issue Feb 19, 2021 · 2 comments
Open

User-Agent string in embedded TV browsers #47

chrisn opened this issue Feb 19, 2021 · 2 comments
Labels
needs input Input on use cases and requirements needed to assess priority and actual needs

Comments

@chrisn
Copy link
Member

chrisn commented Feb 19, 2021

Web browsers are increasingly seeking to improve user privacy by reducing fingerprinting surface, limit use of third party tracking cookies, etc.

One change that is relevant to embedded browsers in TVs is freezing of the User-Agent string.

Apple introduced this a while ago in Safari, and Mozilla support freezing the User Agent string. For Google Chrome, refer to the following Chrome Platform status items:

and this Intent to Deprecate thread, also this related thread regarding the MacOS version number.

Google have proposed User-Agent Client Hints as a new mechanism for obtaining browser, device, and platform version information. This API has shipped in Chrome, with a view to freezing the User-Agent string at some time in the future.

From Google's perspective, this is part of a larger set of changes, known as the Privacy Sandbox.

As yet, it is not clear whether User-Agent Client Hints has support from other browser vendors.

With UA-CH, HTTP requests by default would only include the browser brand name and major version number, while other information is available on an opt-in basis - either by setting an Accept-CH HTTP response header, or calling a JavaScript API.

As many embedded TV browsers are based on Chromium, we recommend that TV browser integrators and TV standards groups that place requirements on content of the User-Agent string review their use of the User-Agent string and give feedback on the proposed changes.

MEIG is open to discussion on how TV devices and content providers can adapt to these proposed changes or to help coordinate sending media industry feedback.

A few questions that come to mind are:

  • Does the UA-CH proposal cover all the information content providers need from a TV device?
  • Where TV device standards define additional information to be included in the User Agent string, how should this information be conveyed using UA-CH? What is the recommended approach for extending UA-CH with additional fields?
  • UA-CH includes a flag to indicate whether the user agent prefers a "mobile" user experience. Should there be similar for TV?
  • If UA-CH sees broad adoption across desktop and mobile browsers, do we expect TV devices to also adopt it?
  • etc.

Feedback can also be sent directly to the User-Agent Client Hints GitHub issue tracker.

@tidoust tidoust added the needs input Input on use cases and requirements needed to assess priority and actual needs label Jul 6, 2021
@chrisn
Copy link
Member Author

chrisn commented Mar 30, 2023

Update: A Sec-CH-UA-Form-Factor hint has just been added, which allows for values such as "TV", "Mobile", "Tablet", "VR", etc. See WICG/ua-client-hints#333

@anawhj
Copy link
Member

anawhj commented Apr 18, 2023

Good point! It's been applied to https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factor by #338 last month.
It might require long times to adapt it to device maker and contents providers, but it will show several usages in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs input Input on use cases and requirements needed to assess priority and actual needs
Projects
None yet
Development

No branches or pull requests

3 participants