Kiosk 模式:访问 chrome.enterprise.deviceAttributes API
要求:获取 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在花了很多时间之后,我向谷歌支持提出了担忧。我定期进行跟进,最后他们为我指派了一名技术人员来帮助我解决问题。
这是我与他们的对话,您可以获得 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!!