<iframe src="https://a.example.com" allow="ch-ua-high-entropy-values"></iframe>User-Agent Client Hints API / notebook
User-Agent Client Hints API
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
console.log(navigator.userAgentData.brands);navigator.userAgentData
.getHighEntropyValues([
"architecture",
"model",
"platform",
"platformVersion",
"fullVersionList",
])
.then((ua) => {
console.log(ua);
});