您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically skips the video on the Hypixel Rewards page
// ==UserScript== // @name Skip Hypixel Reward Video // @namespace BedFullPro ON YT // @version 2.0 // @description Automatically skips the video on the Hypixel Rewards page // @author BedFullPro // @match https://rewards.hypixel.net/claim-reward/* // @grant none // @license MIT // @require https://code.jquery.com/jquery-3.2.1.slim.min.js // ==/UserScript== (function() { 'use strict'; var checkVideoInterval = 2000; // Interval in milliseconds ajust for your needs var interval = setInterval(function() { var youtubeVideo = YT.get($('*[id^="yt"]')[0].id); if (youtubeVideo) { youtubeVideo.seekTo(youtubeVideo.getDuration()); clearInterval(interval); } }, checkVideoInterval); })();