您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
快速跳过视频,节省时间。
当前为
// ==UserScript== // @name 青年大摸鱼 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 快速跳过视频,节省时间。 // @author a_handsome_guy // @match http://h5.cyol.com/* // @grant none // @run-at document-idle // ==/UserScript== (function() { 'use strict'; var sb = document.getElementById("Bvideo"); var superSB="http://h5.cyol.com/special/daxuexi/wzquanhui/m.html" var url = window.location.href; if(url == superSB) { document.querySelector("body > div.section4").className="section4 topindex1"; } else { var url1=url.split("?"); if(url1[0]==superSB) { document.querySelector("body > div.section4").className="section4 topindex1"; } } var i=0; sb.addEventListener("timeupdate",function(){ setInterval(function(){ sb.currentTime=10000; }, 1000); }) })();