商务通代码API

<!DOCTYPE HTML>
<html>

        <head>
                <meta http-equiv="content-type" content="text/html" />
                <meta name="author" content="barney" />
                <title>
                        无标题 2
                </title>
        </head>

        <body>
                <script type="text/javascript">

                        var LR_sysurl = ‘http://swt.fzsyzx.com/‘;
                        var LR_websiteid = ‘LXW31671888‘;
                        var LR_siteid = ‘31671888‘;
                        var LR_lng = ‘cn‘;
                        var LR_isMobile = 0;
                        var LiveReceptionCode_isonline = 1; 

                        if(typeof(LR_showfloat)==‘undefined‘ || LR_showfloat!=1)
                        var LR_showfloat = 1;
                        var LR_Tick=new Date().getTime().toString()+parseInt(Math.random()*499999999+Math.random()*400000000+100000000).toString();
                        var LR_MCount=12; 

                        if(typeof(LR_cid) == ‘undefined‘) {
                                var _lr_helpalt_on=unescape(LR_isMobile?"":"%u5982%u679c%u60a8%u6709%u4ec0%u4e48%u95ee%u9898%2c%u8bf7%u70b9%u51fb%u6b64%u5904%u8fdb%u884c%u5373%u65f6%u6c9f%u901a%3b"); var _lr_helpsrc_on=unescape(LR_isMobile?"http%3a%2f%2fswt.fzsyzx.com%2fjs%2fm_blue%2f1.gif":"http%3a%2f%2fwww.fzsyyy.com%2fswt%2fswt_online.gif");
                                var _lr_helpalt_of=unescape(LR_isMobile?"":"%u6ca1%u6709%u5ba2%u670d%u4eba%u5458%u5728%u7ebf%2c%u8bf7%u70b9%u51fb%u6b64%u5904%u7559%u8a00!%u6211%u4eec%u4f1a%u5c3d%u5feb%u7b54%u590d%3b");
                                var _lr_helpsrc_of=unescape(LR_isMobile?"js%2fm_blue%2f1.gif":"http%3a%2f%2fwww.fzsyyy.com%2fswt%2fswt_online.gif");
                                var _lr_closesrc0=LR_isMobile?‘7.gif‘:‘7.gif‘;
                                var _lr_closesrc1=‘spacer.gif‘;
                                var _lr_toright=LR_isMobile?1:((typeof(LiveReceptionCode_ToRight)!=‘undefined‘)?LiveReceptionCode_ToRight:1);
                                var _lr_tobottom=LR_isMobile?0:((typeof(LiveReceptionCode_ToBottom)!=‘undefined‘)?LiveReceptionCode_ToBottom:0);
                                var _lr_left=LR_isMobile?5:((typeof(LiveReceptionCode_helpimgleft)!=‘undefined‘)?LiveReceptionCode_helpimgleft:0);
                                var _lr_top=LR_isMobile?60:((typeof(LiveReceptionCode_helpimgtop)!=‘undefined‘)?LiveReceptionCode_helpimgtop:200);
                                var _lr_issupport_track=1; var _lr_issupport_invite=1; var LR_ivite_img=‘http://www.fzsyyy.com/swt/invitebg.jpg‘;
                                var LR_invite_color0=‘#D48DEB‘;
                                var LR_invite_color1=‘#F8E1FC‘;
                                var LR_invite_color2=‘#DAA7E3‘;
                                var LR_invite_color3=‘#000000‘;
                                var LR_accept_img=‘js/qw_Purple/a_cn.gif‘;
                                var LR_refuse_img=‘js/qw_Purple/r_cn.gif‘;
                                var LR_close_img=‘js/qw_Purple/close.gif‘;
                                var _lr_invitetitle=unescape("%u60a8%u597d%uff0c%u6765%u81ea%25IP%25%u7684%u670b%u53cb");
                                var _lr_invitestring=unescape("%3cP%3e%u60a8%u597d%uff01%u6211%u662f%u798f%u5dde%u5e02%u7b2c%u4e00%u533b%u9662%u6574%u5f62%u79d1%u5728%u7ebf%u533b%u751f%uff0c%u5982%u679c%u60a8%u6709%u4ec0%u4e48%u7591%u95ee%u7684%u5730%u65b9%uff0c%u6b22%u8fce%u60a8%u5728%u7ebf%u54a8%u8be2%uff01%3c%2fP%3e");
                                var _lr_invite_interval=10;
                                var offline_invite_hidden=0;

                                 if(LR_isMobile){
                                    if(‘0‘==‘1‘)LR_showfloat=0;
                                    }else if(‘0‘==‘1‘){
                                        LR_showfloat=0;
                                        }
                                var LR_invite_hide_float=1;
                                var LR_UserInviteDiv=null;
                                 var LR_GCount=400;
                                 var LR_hidden_region=‘‘;
                                 var LR_repeatinvite=0;
                                 var LR_defineregion=0;
                                 var LR_invitesearchkey=0;
                                 var LR_invitestring1_auto=unescape("");
                                 var LR_auto_pagetitle=1;
                                 var LR_issupport_feydj=0;
                                 var LR_chated_no_invite=0;
                                 var ykt_location=unescape("");
                                 var LR_userurl0=0;
                                 var LR_invite_display_kind=0;
                                 var LR_fade_invite=0;
                                 var LR_confirm_closechat=unescape("%u60a8%u6b63%u5728%u8fdb%u884c%u5728%u7ebf%u5bf9%u8bdd%uff0c%u786e%u5b9a%u8981%u7ed3%u675f%u5bf9%u8bdd%u5417%uff1f");
                                 var _lr_mobileinviteimgsrc=unescape("js%2fm_blue%2f2.gif"); 

                                function LR_SetCookie(name,value,minutes) {
                                        var exp = new Date();
                                        exp.setTime(exp.getTime() + minutes*60*1000); document.cookie = name + ‘=‘+ escape (value) + ‘;path=/;expires=‘ + exp.toGMTString();
                                  }
                                function LR_getCookie(name) {
                                        var arr = document.cookie.match(new RegExp(‘(^| )‘+name+‘=([^;]*)(;|$)‘));
                                        if(arr != null)
                                            return unescape(arr[2]);

                                        if(name==‘LiveWS‘+LR_websiteid) {
                                            LR_SetCookie(name,LR_Tick,2628000);
                                            return LR_Tick;
                                        } 

                                        if(name==‘LiveWS‘+LR_websiteid+‘sessionid‘) {
                                            LR_SetCookie(name,LR_Tick,720);
                                            return LR_Tick;
                                         } 

                                         return null;
                                } 

                                if(typeof(LR_hasInstall) == ‘undefined‘) {
                                    var LR_hasInstall=0;
                                    var MM_contentVersion = 8;
                                    var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

                                    if (plugin) {
                                        var words = navigator.plugins["Shockwave Flash"].description.split(" ");
                                        for (var i = 0; i < words.length; ++i) {
                                            if (isNaN(parseInt(words[i])))
                                                    continue;
                                                     var MM_PluginVersion = words[i];
                                            }
                                            if(MM_PluginVersion >= MM_contentVersion)LR_hasInstall = 1; 

                                    } else if( navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1) ) {
                                            document.write(‘ \n‘);
                                            document.write(‘on error resume next \n‘);
                                            document.write(‘LR_hasInstall = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n‘);
                                            document.write(‘ \n‘);
                                            if(LR_hasInstall)LR_hasInstall=2; 

                                    } 

                                    if(window.location.protocol!=‘http:‘ && window.location.protocol!=‘https:‘)
                                            LR_hasInstall=0;
                                            LR_SetCookie(‘LR_hasInstall_test‘,1,60);
                                    if(LR_getCookie(‘LR_hasInstall‘)==‘0‘ || LR_getCookie(‘LR_hasInstall_test‘)==null){
                                        LR_hasInstall=0;
                                        }
                                } 

                                document.write(‘‘);
                                }

                </script>
        </body>

</html>

商务通代码API,布布扣,bubuko.com

时间: 2024-08-15 13:19:41

商务通代码API的相关文章

商务通代码

CSS代码: * html { background-image: url(about:blank); background-attachment: fixed; } body{height:1000px;} img{border:0;} #swt_c{ width:455px; height:333px; position:fixed; left:50%; top:50%; margin-left:-222px; margin-top:-165px; z-index:9999; display

商务通打开对话窗口容错代码

在某些情况下,页面加载商务通JS代码失败,导致访客点击咨询按钮无法进入商务通对话窗口,下面医疗模板库为大家整理了一段代码,可以防止因商务通加载失败导致访客无法打开对话窗口这种情况的发生. 完整代码如下: <script type="text/javascript"> function online() { var e = 'anniu'; if (arguments.length == 1) { e = encodeURIComponent(arguments[0]); }

点击/swt/直接跳转商务通(2)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-

商务通默认弹窗重写代码

商务通默认弹窗重写代码,重写商务通默认的弹窗.实现原理:通过设置定时器,判断是否存在默认的商务通弹窗标签,如果存在则用自定义的代码将其覆盖. 以下为详细代码,其中o.innerHTML为自定义的弹窗代码,可自行修改为自己的代码: 代码如下 <script> function update_swt_wee() { var o = document.getElementById("LRfloater1"); if (o) { if (o.innerHTML.indexOf(&q

商务通跳转代码(php和html两个版本)

php商务通跳转代码 写一段商务通跳转代码,要求: 1)保证打开的是http://www.swt.com/LR/chat.aspx?from=LKT33156511 2)保证商务通中记录来源是自己的姓名拼音. 可以使用PHP跳转来实现,/swt/index.php 代码如下: <?php $from = isset($_GET['from'])?$_GET['from']:'';   if($from){     header('Location:http://lkt.zoosnet.net/L

网站加载有商务通、商桥,定义js函数触发快商通代码

有的网站已经加载了商务通.商桥的,前期定义了js函数 触发商务通.商桥代码的,可以重新定义新的函数对之前的函数进行覆盖,其 js代码为: var domain = document.domain; /*------------------加载快务通链接---------------*/ var kstJS='<script type="text/javascript" src="http://kefu6.kuaishang.cn/bs/ks.j?cI=399142&am

商务通弹窗破解方法

之前的破解的原理:伪造图片Map点击欺骗商务通识别来实现更换图片和点击,这种方法代码使用很少效果也好,但是必须要付费400修改过的用户才能使用.破解后商务通所有功能仍可以继续使用,如:邀请.强制邀请现在的破解原理:重构弹窗JS调用来进行破解弹窗,经过分析,商务通在弹出邀请对话框时会调用一个function LR_showInviteDiv(h1,h2),然而我们只需要在页面中进行再次重构这个调用,商务通就会默认来调用重构的调用从而实现破解弹窗效果..此方法针对初始用户,开通了商务通却没有付款修改

手机和PC站点击商务通无轨迹解决方法

手机站点击商务通无轨迹解决方法 手机站点击商务通咨询按钮是很多时候会出现后台无法统计到访客的浏览轨迹的情况,这种情况是因为部分手机浏览器打开新的页面不传递来路页面地址信息所导致的.下面为大家介绍一种能解决这一情况的方法: 代码如下 <script type="text/javascript"> function online(){ //商务通轨迹 var e = 'wap'; if(arguments.length == 1){ e = arguments[0]; } if

手机站点击商务通无轨迹解决方法

手机站点击商务通咨询按钮是很多时候会出现后台无法统计到访客的浏览轨迹的情况,这种情况是因为部分手机浏览器打开新的页面不传递来路页面地址信息所导致的.下面为大家介绍一种能解决这一情况的方法: 代码如下: <script type="text/javascript"> function online(){ //商务通轨迹 var e = 'wap'; if(arguments.length == 1){ e = arguments[0]; } if(typeof openZoo