您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
auto next and fullscreen
// ==UserScript== // @name 125bt_auto // @version 0.0.1 // @include http://www.125bt.com/play/* // @include http://www.125bt.com/static/player/* // @include https://youku.cdn-163.com/share/* // @include https://youku.com-youku.com/share/* // @include https://iqiyi.com-l-iqiyi.com/share/* // @include https://tudou.com-l-tudou.com/share/* // @description auto next and fullscreen // @namespace https://gf.qytechs.cn/users/164996a // ==/UserScript== const m = document.querySelector('iframe:not([id])') const c = document.querySelector('a.payactive') const f = document.querySelector('button.dplayer-full-icon') const p = document.querySelector('button.dplayer-play-icon') const v = document.querySelector('video') let l if (f && v && p) { // video dom if (v.paused) p.click() l = window.addEventListener('message', e => { if (e.data === 'fullscreen') { window.removeEventListener('message', l) f.click() } }) v.addEventListener( 'ended', () => { window.top.postMessage('next') }, { once: true } ) } else if (m && c) { // main dom m.focus() ;(async () => { await new Promise(r => setTimeout(r, 500)) m.contentWindow.postMessage('fullscreen', '*') let n = c.parentElement.nextElementSibling n = n && n.firstElementChild if (!n) return l = window.addEventListener('message', e => { if (e.data === 'next') { window.removeEventListener('message', l) n.click() } }) })() }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址