您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
auto skip video ads!
// ==UserScript== // @name AutismDolphinSZN AND MUZWAFA ON INSTAGRAM // @namespace http://greasyfork.icu/zh-CN/users/430543-wulududu // @version 1.0.0.1 // @description: Auto Skip Video Ads // @description: Auto Skip Video Ads // @author AutismDolphinSZN // @match *://*.iqiyi.com/* // @match *://*.youku.com/* // @match *://v.qq.com/* // @grant none // @description auto skip video ads! // ==/UserScript== (function() { 'use strict' let method1 = function () { window._setTimeout = window.setTimeout window.setTimeout = function (handler, timeout, ...arg) { window._setTimeout(handler, timeout / 30, ...arg) } } let method2 = function () { window._setInterval = window.setInterval window.setInterval = function (handler, timeout, ...arg) { window._setInterval(handler, timeout / 30, ...arg) } } let method3 = function () { window.rate = 0 window.Date.now = ()=>{return new window.Date().getTime() + (window.rate += 10000)} setInterval(()=>{window.rate = 0}, 600000) } let youku = function () { window.onload = function () { if (!document.querySelectorAll('video')[1]) { setInterval(()=>{document.querySelectorAll('video')[1].playbackRate = 16},100) } else { method1() } } } let qq = function () { setInterval(()=>{ if (document.querySelectorAll('video')[0].status == 'IDLE') { setInterval(()=>{ document.querySelectorAll('video')[2].playbackRate = 16 document.querySelectorAll('video')[3].playbackRate = 16 },100) } },100) } let host = location.host switch (host) { case 'v.youku.com': youku() break case 'v.qq.com' : qq() break case 'www.iqiyi.com' : method3() break default : break } })();