21tb

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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)


})();