TomTom网站开通客户端软件
我最近收到一封有关 TomTom 地图更新的电子邮件,点击该网站似乎是一个“特殊链接”,点击时会打开 TomTom 客户端软件。因为我在另一台机器上,所以我显然无法测试它,但锚链接看起来像这样:
<a href="tomtomhome:contentitems-of-type:map">Start TomTom HOME</a>
这看起来不像普通链接 - 那么它是如何工作的?冒号(:)是什么意思?真的可以通过网站点击打开客户端软件吗?
I recently received an e-mail about a TomTom map update and clicking through the website appeared to be a 'special link' which opened the TomTom client software when clicking. Because I'm on a different machine I obviously can't test it, but the anchor link looks like this:
<a href="tomtomhome:contentitems-of-type:map">Start TomTom HOME</a>
This doesn't look like a normal link - so how does it work? What do the colons (:) mean? Does it really allow client software to be opened via a website click?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
双冒号之前的部分是处理 url 的协议(所以这里是 tomtomhome)。他们必须在您安装客户端软件时注册此自定义协议。
有关注册自定义 URL 协议的更多信息:如何注册Windows 中的自定义 URL 协议?
The part before the double colon is the protocol to handle the url (so here tomtomhome). They must have registered this custom protocol when you installed the client software.
More info about registering custom url protocols: How do I register a custom URL protocol in Windows?