您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
剧场模式时屏蔽礼物栏,并开启弹幕输入框,屏蔽右下角订阅和暂停时左下角二维码
// ==UserScript== // @name 虎牙直播旧版网页全屏 // @namespace http://www.huya.com/ // @version 0.2 // @description 剧场模式时屏蔽礼物栏,并开启弹幕输入框,屏蔽右下角订阅和暂停时左下角二维码 // @author gesla // @match http*://www.huya.com/* // @grant none // ==/UserScript== 'use strict' const css = ` body.mode-page-full .room-player-wrap .room-player-main #player-wrap { height: 100% !important; width: 100% !important; } body.mode-page-full .room-player-wrap .room-player-main #player-ctrl-wrap { bottom: -60px !important; padding:0 !important; } body.mode-page-full .room-player-wrap .room-player-main:hover #player-ctrl-wrap { bottom: 0 !important; } body.mode-page-full .room-player-wrap .room-player-main #player-full-input { display:block !important; } #player-subscribe-wap { display:none !important; } #player-ctrl-wrap .player-app-qrcode { display:none !important; } #huya-ab .banner-ab-warp { display:none !important; } ` let style = document.createElement('style') style.innerHTML = css document.querySelector('head').appendChild(style) function timer($el,cb){ let time=setInterval(()=>{ if($el.length>0){ clearInterval(time); $el[0].click(); cb(); } },1); } (function() { $('body').on('keydown',event=>{ if(event.keyCode===13){ $("#player-full-input-btn").click(); } }); } )();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址