新华三大讲堂 | 页面多开 | 秒过视频

屏蔽鼠标移出弹窗(华三华为网络技术交流群:950175630)

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         新华三大讲堂 | 页面多开 | 秒过视频
// @namespace    https://www.yuque.com/h3cie/h3c
// @version      0.6
// @description  屏蔽鼠标移出弹窗(华三华为网络技术交流群:950175630)
// @author       拯救世界的狗子
// @match        *://learning.h3c.com/volbeacon/*
// @include      *://learning.h3c.com/volbeacon/*
// @grant        none
// @license      End-User License Agreement
// ==/UserScript==
window.onload = (function(){
    function ShiPinMiaoGuo(value){
        // 创建div元素
            var ShiPinMiaoGuoDiv = document.createElement("div");
        // 设置div的样式
            ShiPinMiaoGuoDiv.className = "ShiPinMiaoGuo";
            ShiPinMiaoGuoDiv.style.position = "absolute";
            ShiPinMiaoGuoDiv.style.top = "10%";
            ShiPinMiaoGuoDiv.style.left = "50%";
            ShiPinMiaoGuoDiv.style.backgroundColor = "lightblue";
            ShiPinMiaoGuoDiv.style.padding = "10px";
        // 创建按钮
            var ShiPinMiaoGuoButton = document.createElement("button");
            ShiPinMiaoGuoButton.innerText = "视频秒过 | 慎用 | 请勿重复点击";
        // 将按钮添加到div中
            ShiPinMiaoGuoDiv.appendChild(ShiPinMiaoGuoButton);
        // 将div添加到页面中
            document.body.appendChild(ShiPinMiaoGuoDiv);
            ShiPinMiaoGuoButton.addEventListener("click", function() {
                // 在按钮被点击时执行的逻辑代码
                console.log("按钮被点击了");
                $("#videoLength").val(9000);
                location.reload();
            });
        };
        ShiPinMiaoGuo();
        function stopInterval() {
            isClearInterval = fasle;
            clearInterval(vLooper);
            clearInterval(vChange);
            pausePrompt();
            }
        stopPlayer=null;
})(5000);