我可以从计算机上的程序 运行 远程访问 Oculus Quest/Oculus Go 中的网络浏览器选项卡吗?

Can I remotely access web browser tabs in my Oculus Quest/Oculus Go from a program running on my computer?

目前 Oculus Quest 耳机的浏览器似乎很基础,没有 copy/paste 等功能。它似乎也无法处理通过以下方式启动其他应用程序'deep links'。我个人没有 Oculus Go,但我认为这会是非常相似的体验?

有什么方法可以让我们从计算机访问耳机浏览器中的 URL's/history/etc(例如,以编程方式)?至少这样我们可以复制相关部分,也许 在我们需要的地方。

seems this is possible using Chrome DevTools Remote Debugging if you have developer mode 在您的耳机上启用。

您可以找到 official documentation on the Oculus developer website.

一旦 developer mode is enabled,请使用 USB-C 数据线将耳机插入计算机。

当耳机连接到您的计算机时:

  • 在电脑上打开GoogleChrome
  • 访问特殊 chrome://inspect/#devices URL
  • 在 'Remote Target' 标题下找到耳机
  • 在您要与之互动的页面上单击 'inspect'

耳机网络浏览器中打开的每个 'tab' 似乎都有一个 'inspect' 选项:

从那里,您可以像通常使用 DevTools 一样访问浏览器 window,因此可以从 JavaScript 控制台访问内容,例如 URL,或操作字段:

就编程方式而言,DevTools protocol is documented, and there are many SDK's for it in various languages.

DevTools 协议文档讨论了 DOM Domain (among other things), which seems to give similar features as the above 'inspect' functionality. By using DOM.getDocument you can get the equivalent of accessing document from the Chrome DevTools console. This returns a Node object,其中包含 documentURL.

等值