您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
首先使用快捷键 F11 将浏览器全屏,刷新网页播放器将自动全屏,如果不需要该功能,停用本插件即可
// ==UserScript== // @name 华数TV自动全屏 // @namespace http://itldg.com/ // @version 2023-12-25 // @description 首先使用快捷键 F11 将浏览器全屏,刷新网页播放器将自动全屏,如果不需要该功能,停用本插件即可 // @author ITLDG // @match *://www.wasu.cn/Play/show/id/* // @icon https://s.wasu.cn/portal/favicon.ico // @license MIT // @grant none // ==/UserScript== ;(async function () { const btnSelector = '.wsplayer-fullscreen' function waitBtn() { return new Promise((resolve) => { let timer = setInterval(() => { const btn = document.querySelector(btnSelector) if (btn) { clearInterval(timer) timer = null resolve(btn) } }, 1000) }) } await waitBtn() // btn.click() // document.querySelector('#WsPlayer').requestFullscreen() const videoStyle = document.querySelector('#flashContent').style videoStyle.position = 'fixed' videoStyle.left = '0' videoStyle.top = '0' videoStyle.height = '100%' videoStyle.width = '100%' videoStyle.zIndex = 999999 document.querySelector('.navbar_static_top').style.display = 'none' document.querySelector('.player_r_btn a').click() })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址