网页上链接到本地应用程序?
我想知道是否可以从我的网页获得本地应用程序的网络链接。
我几乎可以肯定这是不可能的,但我只是想知道。
例如,音乐播放器 Web 应用程序具有在 iTunes 或任何其他本地音乐应用程序中购买该歌曲的链接。
单击该链接后,用户的本地 iTunes 应用程序将启动。
我以前见过这样做,但我想应用程序已经需要对此的支持。
谢谢!
I was wondering if I could have a web link to a local application form my webpage.
I'm almost certain that this is not possible, but I'm just wondering.
For example, a music player web application which has a link to buy that song in iTunes, or any other local music application.
Upon the link being clicked, the user's local iTunes application would be launched.
I have seen this done before, but I would imagine that the application needs support for this, already.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这通常是通过使用协议处理程序来完成的。例如,AIM 将向操作系统注册以处理 goal:// URL,并允许网页链接到这些 URL,当单击它们时,AIM 将打开。所以你说得对,应用程序必须支持它才能工作。
This is generally done by using protocol handlers. For instance, AIM will register with the OS to handle aim:// URLs, and that allows a web page to link to those URLs, and when they're clicked, AIM will open. So you're right in saying that the application has to support it for it to work.