字体
关灯
上一页 进书架 回目录    存书签 下一页

关于陈天修、韩峰等人的番外(2/6)

ath.startith("/to")){navzz="rank";}*/if(navzz){(".nav."+navzz).addss("active");}});_inlineun(fun(){('.mobile').hover(fun(){('.header-a').sho();},fun(){('.header-a').hide();})})



扫码关注黑叔

精彩每日推送

大家都在看

正在

_inlineun(fun(){require(["kernel","troller/on/eadertrl"],fun(core,eadertrl){if(core.cookie("chaterrl")==undefined){('.breadcrumb').addss('nlyone');}eadertrl.create({bookd:123443,bookame:"我的傻白甜老婆",ishater:true,isetail:false,isist:false,sort:25,sortalue:'现代'}).loginnfo();/*==========超出3天微操作自动退出登录**fustcook(){更新最后的操作时间sole.log('鼠标移动了111')core.cookie(stime',e().getime(),{ath:'/'})}funisctive(){if(core.cookie('ud'))stcook()varcurrentime=e().getime();设置超时时间:10分vartimeut=60*1000*60*24*3;vartimeut=10*1000;indo.onload=fun(){/!*检测鼠标移动事件*!/dot.addventistener('keydon',fun()stcook()})dot.addventistener('mousemove',fun()stcook()})dot.addventistener('mousedon',fun()stcook()})dot.addventistener('click',fun()stcook()})dot.addventistener('scroll',fun()stcook()})}/!*定时器间隔1分钟,检测是否长时间未操作页面*!/varquitime=indo.setnterval(testime,60000);}超时函数funtestime(){更新当前时间currentime=e().getime();/!*sole.log('currentime',currentime);sole.logstime)*!/判断是否超时if(currentime-core.cookie(stime')>timeut){超时操作core.ajax({url:core.ajaxomain+'/json/ats/logout',dataye:'json',}).then(fun(data){indo.location.href=core.ageomain+"/ats/login?backrl="+core.ageomain;})清除掉定时器indo.clearnterval(quitime)}}}isctive()*/})})

2020-09-0410:36:13

其实,很多躲着都想看,这部分番外,老于也在抽空写,会发在本人的微信公众号上
本章未完,请翻下一页继续阅读.........
上一页 进书架 回目录    存书签 下一页