1.在线客服
<a href="tencent://message/?uin=qqnum&Site=&menu=yes">qq客服</a> tencent://message/?uin=2123161303&Site=&menu=yes
<a href="tencent://message/?uin=qqnum&Site=&menu=yes">企业公众号</a>
百度商桥: http://p.qiao.baidu.com/cps/chat?siteId=11542697&userId=10905431
2.分享
<div class="share_top_style"> <a href="javascript:void()" class="" onClick="dofristshare('sina')"><img src="data:images/sina.png" alt="新浪微博"></a> <a href="javascript:void()" class="" onClick="dofristshare('tx')"><img src="data:images/tx.png" alt="腾讯微博"></a> <a href="javascript:void()" class="" onClick="dofristshare('rr')"><img src="data:images/rr.png" alt="人人网"></a> <a href="javascript:void()" class="" onClick="dofristshare('qzone')"><img src="data:images/qq.png" alt="QQ空间"></a> <a href="javascript:void()" class="" onClick="dofristshare('douban')"><img src="data:images/db.png" alt="豆瓣"></a> </div> <script type="text/javascript"> function dofristshare(type) { var title = encodeURIComponent("新年快乐,马年吉祥"); var link = encodeURIComponent('http://www.baidu.com'); var image = encodeURIComponent('http://www.baidu.com/img/bdlogo.gif'); if (type == "sina") { window.open("http://v.t.sina.com.cn/share/share.php?url=" + link + "&title=" + title + "&content=utf8&pic=" + image); } if (type == "tx") { window.open("http://v.t.qq.com/share/share.php?url=" + link + "&title=" + title + "&pic=" + image); } if (type == "qzone") { window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + link + "&title=" + title + "&pics=" + image); } if (type == "rr") { window.open("http://widget.renren.com/dialog/share?resourceUrl=" + link + "&title=" + title + "&pic=" + image); } if (type == "douban") { window.open("http://www.douban.com/recommend/?url=" + link + "&title=" + title + "&image=" + image); } return false; } // 推荐分享插件 bshare // http://www.bshare.cn/ </script>
3. 一键加好友
<a href="http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes">加好友</a>
<a href="https://jq.qq.com/?_wv=1027&k=5Utpsss">加群</a>