21tb

21tb 学习连续播放(下一节,下一步)

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @license      pswmz
// @name         21tb
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  21tb 学习连续播放(下一节,下一步)
 
// @author       pswmz
// @match        *://*.21tb.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=21tb.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
        function next11(){
            

//          var xyb = document.querySelector('.cl-go-link') //下一步
//            if(xyb != null){
//               xyb.click();
//               console.log('====================下一步 点击成功=======================');
//            }

            //let finishFlag = document.querySelector('.finish-tig finish-tig-item')

            var nextFlag = document.querySelector('.next-button') // 下一节
            if (nextFlag != null ){
                

               nextFlag.click();
               console.log('====================下一节 点击成功=======================');
            }




       
        }
        //document.querySelector('iframe').contentWindow.document.querySelectorAll('li.innercan.track-course-item>a')[0].click()

    setInterval(next11,6000)


})();