问题
I am looking to make a skype link for a mobile site, is there a way use <a href="
to make it launch skype and add or call a user?
回答1:
If your mobile site is (generally) used by iOS devices, you can use :
<a href="skype:YourSkypeName?call">Call me on Skype</a>
Apple iOS devices automatically recognizes intents in link with Skype and FaceTime.
回答2:
You can use skype:<username|phonenumber>[?[add|call|chat|sendfile|userinfo]]
or callto:<screenname|phonenumber>
, according to this wikipedia page:
http://en.wikipedia.org/wiki/URI_scheme#callto:
回答3:
To turn your skype id into a link so people can add you to their contact list use the following:
<a href="skype:SKYPENAME?add">SKYPENAME</a>
Replacing SKYPENAME with your own of course.
回答4:
<a href="skype:echo123?call">Call the Skype Echo / Sound Test Service</a>
According to Skype documentation
回答5:
You can use <a href="skype:-skype-name-?chat">Start chat</a>
Allowed query parameters:
chat
- start a chat
call
- start a call
add
- add person to the contacts
userinfo
- view user's profile
voicemail
- leave a voice message
sendfile
- send a file
来源:https://stackoverflow.com/questions/11598925/is-there-an-href-attribute-for-skype-like-mailto-or-tel