开发者

Is it possible to bookmark an alternate URL

开发者 https://www.devze.com 2022-12-15 20:41 出处:网络
When a user tries to bookmark one of my pages, I really want it to bookmark a different URL (in my case a tel:// URL -- on the iPhone).Is there a meta tag开发者_开发百科 or something I can use to spec

When a user tries to bookmark one of my pages, I really want it to bookmark a different URL (in my case a tel:// URL -- on the iPhone). Is there a meta tag开发者_开发百科 or something I can use to specify that the browser bookmark an alternate URL?


Sure you can, here is how you can do it:

For exemple:

Click <a href="javascript:window.external.AddFavorite(' tel://URL', 'name of the site')">here</a> to add my site to your bookmark.

Does this help you ?

0

精彩评论

暂无评论...
验证码 换一张
取 消