Msn在线客服代码

Msn在线客服代码msn在线客服信息:MSN在线客服代码关键词:MSN技术在线客服代码成长发展┊杂碎┊推荐┊来源:Zanpo┊收藏有很多朋友问Zanpo在线客服的代码,貌似网上也找不到好用的,因此打算把他自己珍藏的代码拿出来给大家分性

Msn在线客服代码

 

msn在线客服信息:

在一般的浏览器下 正常支持! ff浏览器 会有一个提示信息,这不是ff的问题而是msn没有注册这个协议.如果想解决这个问题 :

REGEDIT4

[HKEY_CLASSES_ROOT/msnim]
@=”URL:msnim Protocol”
“URL Protocol”=””

[HKEY_CLASSES_ROOT/msnim/shell]

[HKEY_CLASSES_ROOT/msnim/shell/open]

[HKEY_CLASSES_ROOT/msnim/shell/open/command]
@=”/”C://Program Files//MSN Messenger//msnmsgr.exe/” /”%1/””

用记事本贴上上面的代码 改成reg文件 执行 注册. 注意: 代码最后一行 是执行路径 要判断是不是正确路径!

 

 

MSN在线客服代码

 

 

有很多朋友问Zanpo在线客服的代码,貌似网上也找不到好用的,因此打算把他自己珍藏的代码拿出来给大家分性享一下,很好用。

按钮部分,我是用图片来做例子
<SPAN style=”CURSOR: hand” 
οnclick=”javascript:addMSN(‘u148.net@hotmail.com’);”><IMG 
src=”kefu.gif” border=0> </SPAN>
<DIV style=”DISPLAY: none”>
<OBJECT id=MsgrUIA height=0 codeType=application/x-oleobject width=0 
classid=clsid:B69003B3-C55E-4b48-836C-BC5946FC3B28></OBJECT></DIV>

代码:
<A title=”请确保XP版本以上的Windows并安装好MSN,或者手动添加地址。” href=”msnim:chat?contact=u148.net@hotmail.com” target=”_blank”>给有意思吧发消息</A>

JS部分
<SCRIPT language=javascript>
<!–
function addMSN (address) {

  if (MsgrUIA.MyStatus == 1)
  {

   alert(‘您的MSN没有登陆,请先登陆’);
  }
  else if(MsgrUIA.MyStatus == 2 || MsgrUIA.MyStatus == 10 || MsgrUIA.MyStatus == 14 || MsgrUIA.MyStatus == 34 || MsgrUIA.MyStatus == 50 || MsgrUIA.MyStatus == 66 || MsgrUIA.MyStatus == 6) {   //2,10, 14, 34, 50,66,6
   MsgrUIA.InstantMessage(address);
  }
  else if (MsgrUIA.MyStatus == 512 || MsgrUIA.MyStatus == 768)
  {

   alert(‘您的MSN正在登陆,请稍等’);
  }
  else {

   alert(‘错误代码:’+  MsgrUIA.MyStatus  + ‘。您没有安装MSN或使用的不是IE浏览器,请安装MSN并手动添加’ + address );
  }
}
–>
</SCRIPT>

ENGLISH
<SCRIPT language=javascript>
<!–
function addMSN (address) {

  if (MsgrUIA.MyStatus == 1)
  {

   alert(‘Add a people to MSN , only for IE and you must have installed MSN or Window Message’);
  }
  else if(MsgrUIA.MyStatus == 2 || MsgrUIA.MyStatus == 10 || MsgrUIA.MyStatus == 14 || MsgrUIA.MyStatus == 34 || MsgrUIA.MyStatus == 50 || MsgrUIA.MyStatus == 66 || MsgrUIA.MyStatus == 6) {   //2,10, 14, 34, 50,66,6
   MsgrUIA.InstantMessage(address);
  }
  else if (MsgrUIA.MyStatus == 512 || MsgrUIA.MyStatus == 768)
  {

   alert(‘Logining Now,Please wait!’);
  }
  else {

   alert(‘Error:’+  MsgrUIA.MyStatus  + ‘。Send a message through MSN , only for IE and you must have installed MSN or Window Message’ + address );
  }
}
–>
</SCRIPT>

2007年11月8日更新,上面的代码已经不支持msn8.0 以下是更新后的代码

今天的文章Msn在线客服代码分享到此就结束了,感谢您的阅读。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/76100.html

(0)
编程小号编程小号

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注