常用聊天工具(IM)線上客服連結程式碼

雲驛站發表於2013-05-26

使用線上聊天工具(IM)可以方便、快捷地進行溝通交流,所以在部落格、經營網站裡經常能見到各種IM程式碼。在此收集了一些常見的IM程式碼,存檔備忘。

1. QQ線上程式碼

程式碼生成頁面:http://bizapp.qq.com/webpres.htm

示例程式碼(兩種風格):

<img style="CURSOR: pointer" onclick="javascript:window.open(`http://b.qq.com/webc.htm?new=0&sid=QQ_Num&o=Your_WebName&q=7`, `_blank`, `height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no`);" border="0" SRC=http://wpa.qq.com/pa?p=1:QQ_Num:1 alt="點選這裡給我發訊息">
<img style="CURSOR: pointer" onclick="javascript:window.open(`http://b.qq.com/webc.htm?new=0&sid=QQ_Num&o=Your_WebName&q=7`, `_blank`, `height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no`);" border="0" SRC=http://wpa.qq.com/pa?p=1:QQ_Num:7 alt="點選這裡給我發訊息">

2. MSN線上程式碼

參考資料:

http://www.mess.be/msnmessengerfaq/idx/0/139/article/Are_there_any_HTML_codes_that_integrate_MSN_Messenger.html

With the release of MSN Messenger 7.5 in August 2005, Microsoft introduced a protocol handler which allows us to integrate MSN Messenger (and later Windows Live Messenger) into our MSN Spaces,
personal blogs or other websites with the use of special HTML codes. Here`s an overview of the four uses of the msnim protocol handler with hyperlink examples:

  1. msnim:add – Allow your visitors to add you to their MSN contacts immediately. Example: <a href=”msnim:add?contact=email@address.com “>Add me to your MSN Messenger contact list</a>
  2. msnim:chat – Clicking this link will open a conversation with email@address.com and allows instant chatting. Example: <a href=”msnim:chat?contact=email@address.com “>Click here to chat</a>
  3. msnim:voice – Allow your visitors to start Voice chatting with you in just one click. Example: <a href=”msnim:voice?contact=email@address.com “>Start a Voice chat with me</a>
  4. msnim:video – Launches a Video conversation straight from a web page. Example: <a href=”msnim:video?contact=email@address.com “>Start a Video chat with me</a>.

In each case the visitor is required to be logged into MSN Messenger 7.5 or higher. One`s privacy settings and reaction speed to the warning prompts and invitation requests will eventually influence the “instant” character of these codes.

3. 阿里旺旺(淘寶版)線上程式碼

程式碼生成頁面:http://www.taobao.com/help/wangwang/wangwang_0628_12.php

示例程式碼:

<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=WangWang_TB&s=1" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=WangWang_TB&s=1" alt="點選這裡給我發訊息" /></a>

4. 阿里旺旺(阿里巴巴版,貿易通版)線上程式碼

程式碼生成頁面:http://alitalk.alibaba.com.cn/tese/index.html

示例程式碼(兩種風格):

<a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=WangWang_B2B&site=cnalichn&s=5" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=WangWang_B2B&site=cnalichn&s=5" alt="點選這裡給我發訊息" /></a>
<a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=WangWang_B2B&site=cnalichn&s=2" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=WangWang_B2B&site=cnalichn&s=2" alt="點選這裡給我發訊息" /></a>

說明:阿里旺旺(阿里巴巴版)是在阿里巴巴網站裡使用的旺旺,又稱為“貿易通”,和淘寶裡的那個旺旺很相似,但是它們是兩個不同的工具。使用阿里巴巴版可以選擇登入阿里巴巴中國、阿里巴巴國際、淘寶等。

英文版叫Trade Manager,示例程式碼:

<a target="_blank"href="http://amos.us.alitalk.alibaba.com/msg.aw?v=2&uid=Your_TM&site=enaliint&s=5"><img border="0" src="http://amos.us.alitalk.alibaba.com/online.aw?v=1&uid=Your_TM&site=enaliint&s=5>" alt="Send message" /></a>


相關文章