Greasy Fork is available in English.

学习通刷课

刷视频

< Feedback on 学习通刷课

Değerlendirme: İyi - script çalışıyor

§
Gönderildi: 04.10.2024

是不是学习通更新了?我用不了,改了一下:
1.判断剩余需要学习的小结
if(i.querySelector('span[class $= "prevTips"]')&&i.querySelector('span[class$="name"]')&&i.querySelector('span[class $= "prevTips"]').innerText==(Number(x)+1)
&&!i.innerText.includes('本章测验')&&!i.innerText.includes('阅读')&&!i.innerText.includes('直播')&&!i.innerText.includes('问卷调查')){
改为
if(i.querySelector('span[class $= "prevTips"]')&&i.querySelector('span[class$="name"]')&&i.querySelector('span[class $= "prevTips"]').innerText!=''
&&!i.innerText.includes('本章测验')&&!i.innerText.includes('阅读')&&!i.innerText.includes('直播')&&!i.innerText.includes('问卷调查')){

2.支持一个小结里面有多个视频的情况
框架=document.querySelector('#iframe').contentWindow.document.querySelector("iframe").contentWindow
改为
框架=document.querySelector('#iframe').contentWindow.document.querySelector(".ans-attach-ct:not(.ans-job-finished)>iframe")?.contentWindow

Su.Sahip
§
Gönderildi: 16.11.2024

可能是更新了吧,我这好久没有学习通的课了,改改能用的话就接着用吧

Cevap paylaş

Yanıt göndermek için oturum açın.