打开微信(2种方法):
<a href="javascript:window.location.href='weixin://'">打开微信</a>
<a href="weixin://">打开微信</a>
微信接口:
weixin://dl/business/?ticket= 调用以下接口
weixin://dl/scan 扫一扫
weixin://dl/feedback 反馈
weixin://dl/moments 朋友圈
weixin://dl/settings 设置
weixin://dl/notifications 消息通知设置
weixin://dl/chat 聊天设置
weixin://dl/general 通用设置
weixin://dl/officialaccounts 公众号
weixin://dl/games 游戏
weixin://dl/help 帮助
weixin://dl/feedback 反馈
weixin://dl/profile 个人信息
weixin://dl/features 功能插件
打开QQ:
移动端:
<a href="mqqwpa://im/chat?chat_type=wpa&uin=QQ号&version=1&src_type=web&web_src=oicqzone.com">打开QQ</a>
PC端(有权限需要添加好友):
<a href="tencent:/