您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
自动学习|自动换课|全自动|切勿手动|换号请输入1|代刷vx:shuake345
// ==UserScript== // @name 教师学习平台-四川省中小学教师信息技术应用 // @namespace 代刷vx:shuake345 // @version 0.2 // @description 自动学习|自动换课|全自动|切勿手动|换号请输入1|代刷vx:shuake345 // @author 代刷vx:shuake345 // @match http://*.study.teacheredu.cn/* // @match *://*.scedu.com.cn // @match http://study.yanxiu.jsyxsq.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=teacheredu.cn // @grant none // ==/UserScript== (function() { 'use strict'; var FirstTimeLook document.addEventListener("visibilitychange", function() { if (document.visibilityState == "visible") { if(document.URL.search('course_list_new')>1 ){ setTimeout(Zy,4254) } } }); var dRq = new Date(); var yr = dRq.getFullYear()+'' window.alert=function(){} window.onbeforeunload = null window.confirm=function(){ return true } function Zy(){ if(document.URL.search('course_list_new')>20){ //console.log(FirstTimeLook) if(FirstTimeLook==undefined){ FirstTimeLook=prompt('是否从头开始刷,输入“1”则重置进度,输入“0”则接着之前的课程顺序。(如是更换账号,请输入1)') } var Looked = localStorage.getItem('key') var Name0=document.getElementsByClassName('kcal_title') var NameNum=Name0.length var Clicked=document.getElementsByClassName('qxx') if(FirstTimeLook==1){ localStorage.clear('key') Clicked[0].click() FirstTimeLook=2 return; } for (var l=0;l<NameNum;l++){ if(Looked.indexOf(Name0[l].title)==-1){//不包含,点击 Clicked[l].click() break; } } } } setTimeout(Zy,4254) function Cy(){ if(document.URL.search('courseId')>20){ var Rtime var Nowtime var Name var SeeTime var Alltime=document.querySelectorAll('div.title_tab_lists>div>div.introduce_list') if(yr.search('3')>2){ for (var i=0;i<Alltime.length;i++){ if(Alltime[i].innerText.search('时长')>1){ Rtime=parseInt( Alltime[i].innerText.split(':')[1].split(' ')[0]) break; } } Nowtime=parseInt(document.getElementById('zonggong').innerText.split('分钟')[0]) SeeTime=parseInt(document.getElementById('benci').innerText.split('分')[0]) if(Nowtime+SeeTime>=Rtime){ if(document.getElementsByClassName('fl')[0].innerText.split(':').length==3){ Name=document.getElementsByClassName('fl')[0].innerText.split(':')[1]+":"+document.getElementsByClassName('fl')[0].innerText.split(':')[2] }else{ Name=document.getElementsByClassName('fl')[0].innerText.split(':')[1] } localStorage.setItem('key',localStorage.getItem('key')+Name) } } } } setInterval(Cy,5230) function Sy(){ if(document.URL.search('courseListNew')>20){ window.close(); } } setInterval(Sy,1520) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址