Kiosk 模式:访问 chrome.enterprise.deviceAttributes API

发布于 2025-01-16 00:42:23 字数 471 浏览 6 评论 0原文

要求:获取 Chromebox 的 deviceID。

根据 chrome 开发人员的说法,要获取设备 ID,我们需要调用 chrome 的 chrome.enterprise API,该 API 仅在 ChromeBox 和 kiosk 模式下受支持。

这是参考 URL https://developer.chrome.com/docs/extensions/参考/enterprise_deviceAttributes/ 注意:此 API 仅适用于企业策略强制安装的扩展。

根据他们的指导方针,我们尝试了所有 3 种方法,但未能取得成功。

如果有人尝试过同样的事情并且能够成功,请告诉我。

提前很早谢谢。

Requirement: get deviceID of Chromebox.

As per the chrome developer, To fetch device ID we need to call chrome.enterprise API of chrome which is supported only in ChromeBox and in kiosk mode.

Here is the reference URL https://developer.chrome.com/docs/extensions/reference/enterprise_deviceAttributes/
Note: This API is only available to extensions force-installed by enterprise policy.

As per their guidelines, We tried all 3 ways but were unable to get success on it.

Please let me know if anyone can have tried for the same and able to succeed on it.

Thax much in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜警司 2025-01-23 00:42:23

在花了很多时间之后,我向谷歌支持提出了担忧。我定期进行跟进,最后他们为我指派了一名技术人员来帮助我解决问题。

这是我与他们的对话,您可以获得 100% 正确运行的参考代码。

https://bugs.chromium.org/p/chromium/issues/详细信息?id=1314761

谢谢!!

After spending a lot of time on it, I raise a concern to google support. I took follow-up regularly and finally they assigned a technical person to me who helped me to resolve my issue.

Here is my conversation with them and you can get the reference code which is working 100% correctly.

https://bugs.chromium.org/p/chromium/issues/detail?id=1314761

Thank you!!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文