Record the mobile phone calling up part of the application client


Don’t talk much


Call up SMS

window.location.href = 'sms://'

Start mobile wechat client

window.location.href = 'weixin://'

Call up your cell phone

window.location.href = 'tel://'

SMS if you need to specify the recipient and the content of the message

window.location.href = 'sms:' + phone + '?body=' + body

The phone is the receiver, and the body is the content of the SMS. Because there is only an Android, the IOS system is not tested

It’s about changing? Into & testing what you need

If you call a specific number

window.location.href = 'tel:' + phone


At this point, it may be useful to make a note.

2020-03-17 13:43:24