您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
剧场模式时屏蔽礼物栏,并开启弹幕输入框,屏蔽右下角订阅和暂停时左下角二维码
当前为
// ==UserScript== // @name 虎牙直播旧版网页全屏 // @namespace http://www.huya.com/ // @version 0.1 // @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; } ` let style = document.createElement('style') style.innerHTML = css document.querySelector('head').appendChild(style)