Greasy Fork

Greasy Fork is available in English.

培训宝挂机工具

fuck the z*soft of fking pxb

当前为 2021-11-19 提交的版本,查看 最新版本

// ==UserScript==
// @name         培训宝挂机工具
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  fuck the z*soft of fking pxb
// @author       RAY
// @match        https://m.taoke.com//front_new/pxb/webapp/html/student/student.html*
// @grant        none
// @license MIT
// 用于反抗培训宝的挂机检测,方便多开视频进行后台挂机
// ==UserScript==
// @run-at        document-start
// ==/UserScript==
(function() {
    'use strict';
    setInterval(function(){ document.getElementsByClassName("mint-msgbox-confirm")[0].click(); }, 5000);
    setInterval(function(){var t = this;
                    if (null != t.player)
                        t.player.show(),
                        t.player.play(),
                        t.isPlay = !0;
                    else {
                        var e = document.querySelector("#videoplayer video,#videoplayer audio");
                        e && e.play()
                    }}, 100);

})();