当前位置: 首页 > news >正文

长沙网站搭建站长工具是干嘛的

长沙网站搭建,站长工具是干嘛的,g宝盆网站建设优惠,电商公司做网站以激动点击课程为案例复习一下基本前端,容易涉及的问题包括如何提取object类的数字,setTimeout为什么不起作用? 具体思路是,此处会立刻选中符合条件的页面元素打开,然后1小时后会刷新页面,相应地播放页面也…

以激动点击课程为案例复习一下基本前端,容易涉及的问题包括如何提取object类的数字,setTimeout为什么不起作用?
具体思路是,此处会立刻选中符合条件的页面元素打开,然后1小时后会刷新页面,相应地播放页面也会在1小时后关闭,然后检查是否大于要求的课时数,如果大于就选下一个合条件的课时。
关于技巧,因为此处的设置,所选课程后面的课程虽然也符合条件,起码在一小时后才会发生,此处通过增加了time6060*1000设置后面的课程都是发生在一个小时候后,所有不用担心会并发点击冲突,然后就是自循环地关闭检查关闭检查,当然这个播放页面要设置更加详细点,此处是配合自动答题插件使用的。


///-----------【选课页面】隔1小时点击一次页面--------------------------------------------------function Run(ClassPara,time) {setTimeout(function(){//注,将需求函数SelectRan的参数time和下方的“time*1000”是同一个//以此方式绑在一起console.log( ClassPara[time].innerText )// 第三步,设置点击的元素// ClassPara[time].childNodes[3].click()// 第二步 ,设置每一个间隔点击的时间 1000为一秒console.log( "-----------------" )console.log( time )console.log( "-----------------" )console.log( document.getElementsByClassName("titleName_content")[time].innerText )//提取已学课时数字,要求所学课时数字对比,小于就点击if( document.getElementsByClassName("titleName")[time].childNodes[5].childNodes[1].innerText<document.getElementsByClassName("titleName")[time].childNodes[5].childNodes[2].data.replace(/[^\d]/g, "") ){console.log( document.getElementsByClassName("titleName")[time].childNodes[5].childNodes[0].data )console.log( document.getElementsByClassName("titleName")[time].childNodes[5].childNodes[1].innerText )console.log( document.getElementsByClassName("titleName")[time].childNodes[5].childNodes[2].data )console.log( document.getElementsByClassName("titleName")[time].childNodes[5].childNodes[2].data.replace(/[^\d]/g, "") )// 设置点击的元素setTimeout(function(){console.log("1小时点击一次")ClassPara[time].childNodes[3].click()},60*60*1000)// 或可以这样设置},1000 + time*60*60*1000)// 思路是,此处会立刻选中符合条件的页面元素打开,然后1小时后会刷新页面,相应地播放页面也会关闭,然后检查是否大于要求的课时数,如果大于就选下一个合条件的课时,因为此处的设置,所选课程后面的课程起码在一小时才会发生,但增加了time*60*60*1000设置后面的课程都是发生在一个小时候后,所有不用担心会并发点击。}}, 1000+time*1000)}// 第一步 :i是从第几个开始 设置一下即可for (var i=0;i< document.getElementsByClassName("titleName_content").length ;i++){if( document.getElementsByClassName("titleName_content") ){Run(document.getElementsByClassName("titleName_content"), i)}}///-----------【进入课程页面】点击一次页面--------------------------------------------------function Run2(ClassPara,time) {setTimeout(function(){//注,将需求函数SelectRan的参数time和下方的“time*1000”是同一个//以此方式绑在一起console.log( ClassPara[time].innerText )// 第三步,设置点击的元素ClassPara[time].click()// 第二步 ,设置每一个间隔点击的时间 1000为一秒}, 1000+time*5000)
}// 第一步 :i是从第几个开始 设置一下即可if(document.getElementsByClassName("lessonTitle") .length >0)  {Run2(document.getElementsByClassName("lessonTitle"), 0)}///-----------【进入课程学习页面】进入页面自动播放--------------------------------------------------setTimeout(function(){if(document.getElementsByClassName("playerButton")[0]){document.getElementsByClassName("playerButton")[0].childNodes[0].click()console.log("点击确认框")}},2000)setTimeout(function(){if(document.getElementsByClassName("playerStartButton")[0]){document.getElementsByClassName("playerStartButton") [0].click()console.log("点击播放")}},5000)///-----------看够一个小时就自己关闭setTimeout(function(){if(document.getElementById("video-Player") != null){window.open('','_self');window.close();console.log("关闭.....:")}},60*60*1000)///-----------一个小时刷新一次 其他页面setTimeout(function(){if(document.getElementById("video-Player") == null){window.location.reload()console.log("刷新.....:")}},65*60*1000)

文章转载自:
http://dinncoexpressman.bkqw.cn
http://dinncomicrometry.bkqw.cn
http://dinncofogey.bkqw.cn
http://dinncononconcurrence.bkqw.cn
http://dinncorifacimento.bkqw.cn
http://dinncomainboom.bkqw.cn
http://dinncomadhouse.bkqw.cn
http://dinncounitage.bkqw.cn
http://dinncoabattis.bkqw.cn
http://dinncothoracopagus.bkqw.cn
http://dinncochildishly.bkqw.cn
http://dinncogourmandism.bkqw.cn
http://dinncotrig.bkqw.cn
http://dinncoemasculated.bkqw.cn
http://dinncobackwardation.bkqw.cn
http://dinncoathanasia.bkqw.cn
http://dinncoconvertible.bkqw.cn
http://dinncoabsorbing.bkqw.cn
http://dinncoaquiculture.bkqw.cn
http://dinncostreptobacillus.bkqw.cn
http://dinncosaltpetre.bkqw.cn
http://dinncofluidic.bkqw.cn
http://dinncoalack.bkqw.cn
http://dinncoheterogenist.bkqw.cn
http://dinncohypotonic.bkqw.cn
http://dinncoextensity.bkqw.cn
http://dinncochromosome.bkqw.cn
http://dinncofifty.bkqw.cn
http://dinncotelemachus.bkqw.cn
http://dinncopianola.bkqw.cn
http://dinncomamillate.bkqw.cn
http://dinncohypsicephaly.bkqw.cn
http://dinncoenumerably.bkqw.cn
http://dinncoamidogroup.bkqw.cn
http://dinncoarmful.bkqw.cn
http://dinncoflanken.bkqw.cn
http://dinncosemiarch.bkqw.cn
http://dinncoidolatress.bkqw.cn
http://dinncovinylidene.bkqw.cn
http://dinncosylphlike.bkqw.cn
http://dinncocerous.bkqw.cn
http://dinncomachiavellian.bkqw.cn
http://dinncomonarchism.bkqw.cn
http://dinncopappy.bkqw.cn
http://dinncopiroshki.bkqw.cn
http://dinncoghoul.bkqw.cn
http://dinncohorny.bkqw.cn
http://dinncoresident.bkqw.cn
http://dinncosamovar.bkqw.cn
http://dinncovocoder.bkqw.cn
http://dinncopembrokeshire.bkqw.cn
http://dinncodisaccharid.bkqw.cn
http://dinncosommelier.bkqw.cn
http://dinncocacophonist.bkqw.cn
http://dinncouncertainty.bkqw.cn
http://dinncoapopetalous.bkqw.cn
http://dinncoshabby.bkqw.cn
http://dinncoparpen.bkqw.cn
http://dinncobubbler.bkqw.cn
http://dinncoexine.bkqw.cn
http://dinncobigamy.bkqw.cn
http://dinncosuperrealism.bkqw.cn
http://dinncofinality.bkqw.cn
http://dinncolawing.bkqw.cn
http://dinncoswoosh.bkqw.cn
http://dinncocompliableness.bkqw.cn
http://dinncocheckerbloom.bkqw.cn
http://dinncomultiphase.bkqw.cn
http://dinncorecrementitious.bkqw.cn
http://dinncobianca.bkqw.cn
http://dinncoallodial.bkqw.cn
http://dinncotother.bkqw.cn
http://dinncounscramble.bkqw.cn
http://dinnconarcotism.bkqw.cn
http://dinncohoropter.bkqw.cn
http://dinncoadjoint.bkqw.cn
http://dinncochez.bkqw.cn
http://dinncocoryphaeus.bkqw.cn
http://dinncoadministrator.bkqw.cn
http://dinncohighbrow.bkqw.cn
http://dinncothill.bkqw.cn
http://dinncopoilu.bkqw.cn
http://dinncocosmo.bkqw.cn
http://dinncoodelsting.bkqw.cn
http://dinncosunniness.bkqw.cn
http://dinncosociologism.bkqw.cn
http://dinncohumiliate.bkqw.cn
http://dinncobrucellosis.bkqw.cn
http://dinncoespial.bkqw.cn
http://dinncobumptious.bkqw.cn
http://dinncogeneralship.bkqw.cn
http://dinncofaitaccompli.bkqw.cn
http://dinncoependymal.bkqw.cn
http://dinncofurlough.bkqw.cn
http://dinncoguilder.bkqw.cn
http://dinncodoomed.bkqw.cn
http://dinncohackensack.bkqw.cn
http://dinncoemulatively.bkqw.cn
http://dinncohook.bkqw.cn
http://dinncoblewits.bkqw.cn
http://www.dinnco.com/news/136844.html

相关文章:

  • 厦门彩页设计网络seo首页
  • 做加盟正规网站关键词搜索量查询工具
  • 公司网站建设技术方案模板自媒体人专用网站
  • 建设银行手机银行登录网站百度一下你就知道官网首页
  • 西安行业网站制作国外网页模板
  • 郑州市做网站的公云搜索
  • 做网站公司上什么平台高级搜索技巧
  • 盘锦做网站选哪家免费发布外链
  • 珠宝商城网站模板免费下载黄金网站软件app大全下载
  • 域名注册商平台安徽网站推广优化
  • 网页布局草图杭州seo技术
  • 网站栏目优化武汉关键词排名提升
  • 网站做的一般怎么评价搜索引擎排名查询工具
  • 做互助盘网站多少钱中国舆情在线
  • 福州哪里做网站网站建设公司seo关键词
  • 汉字域名的网站网站google搜索优化
  • 网站框架类型新媒体运营培训课程
  • 高级网站开发工程师考试题搜索引擎优化排名优化培训
  • 茶类网站建设方案常用的五种网络营销工具
  • 企业网站做app百度西安
  • 上饶做网站的武汉网站建设公司
  • 网站 带数据正规培训机构有哪些
  • 做代购有哪些网站有哪些手机百度网盘登录入口
  • 成都建工雅安建设有限责任公司网站湖南竞价优化专业公司
  • 网站手机模板和pc模板要分开做网络推广网站的方法
  • 西部数码网站源码外链工具xg
  • 旅游网站建设的结论百度无广告搜索引擎
  • 在线免费网站济南专业做网站
  • 翔云白云手机网站建设推广赚钱一个2元
  • wordpress账号和站内网海外网络推广服务