21tb

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

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

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

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)


})();