cq_auto_script

private script

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         cq_auto_script
// @namespace    skeleton
// @version      3.0.0
// @description  private script
// @author       skeleton
// @match        *://*.chaoxing.com/space/*
// @run-at       document-end
// @grant        unsafeWindow
// @license MIT
// ==/UserScript==
 
 
(function() {
 
    'use strict';
    setTimeout(()=>{
        const win = unsafeWindow.document.querySelector('iframe').contentWindow
        win.getStudied?.()

        setTimeout(()=>{
            // 随机看课
            const links = Array.from(win.document.querySelectorAll('.w_cournopadd .w_cour_txt a'))
            const count = parseInt(Math.random() * links.length)
            links[count]?.click()
        },10000)
    },5000)
})();