斗鱼虎牙B站直播极简

极限精简,宽屏播放,没有弹幕聊天框。适合只看直播不爱发弹幕的观众,如需发弹幕请使用全屏模式。

斗鱼虎牙B站直播极简 was deleted due to: Report #15396.

Appeal submitted by the author:

// ==UserScript==
// @name 斗虎极简
// @version 2021.08.24
// @description 极限精简,宽屏播放器。适合只看直播不爱发弹幕的观众,如需发弹幕请使用全屏模式。
// @match *://douyu.com/*
// @match *://www.douyu.com/*
// @match *://huya.com/*
// @match *://www.huya.com/*
// @namespace https://greasyfork.org/users/669525
// ==/UserScript==


(function() {
var css = '{display:none !important;height:0 !important}';
//斗鱼全局
css += '.layout-Customize{display:none !important;}';//直播分区推荐
css += '.layout-Aside{display:none !important;}';//左侧导航栏
css += '#js-room-activity{display:none !important;}';//右侧悬浮广告
css += '.Download-iconAdd{display:none !important;}';//顶部工具栏“红色闪电”
//斗鱼直播间
css += '.layout-Player-title{display:none !important;}';//标题栏
css += '.layout-Player-aside{display:none !important;}';//弹幕框
css += '.PlayerToolbar,.ACTannual202109Tips{display:none !important;}';//礼物栏“礼物广告”
css += '.layout-Player-toolbar{visibility:hidden !important;height: 0px !important;}';//“礼物栏”高度
css += '.FullPageFollowGuide{display:none !important;}';//视频内主播头像
css += '.layout-Bottom{display:none !important;}';//底部动态
css += '.layout-Player-main{height: 100%;width: 100% !important;}';//视频大小调整
css += '.layout-Player-video{bottom:0px !important}';//网页全屏时视频高度修正
css += '.layout-Player-asideToggle{display:none !important;}';//网页全屏时右侧控制条
css += '.watermark-442a18{display:none !important;}';//视频区左下角“房间号水印”
css += '.recommendApp-0e23eb{display:none !important;}';//未开播直播间下载APP
css += '.btnDiv2-e4408a{display:none !important;}';//未开播直播间“开播广告”
css += '.PkView,.MorePk{display:none !important;}';//颜值直播间“PK横条”
css += '.maiMaitView-68e80c{display:none !important;}';//颜值直播间“主场广告”
css += '.yanzhi-b079f5, .mouse-disable-3cc40a{display:none !important;}';//颜值直播间“连麦广告”
css += '.layout-Player-videoProxy{display:none !important;}';//视频右下方“点赞、播单”
css += '.layout-Player-videoAbove{display:none !important;}';//视频左侧“亲密互动”
css += '.layout-Player-guessgame{display:none !important;}';//视频下方“鱼丸竞猜”
//斗鱼关注页
css += '.Prompt-container{display:none !important;}';//关注列表页左上方“领取火箭”
//斗鱼专题直播间
css += '#bc2{display:none !important;}';//标题上方相关直播间
css += '.wm-general{height: 0px !important;}';//直播间背景高度
css += '.wm-general-wrapper{background: rgb(0 0 0 / 0%) !important;}';//直播间背景颜色
css += '#root > div.wm-general:nth-child(3){top:0px !important;}';//播放器位置
css += '.wm-view{display:none !important;}';//专题版块
css += '.wm_footer{display:none !important;}';//底部网站信息


//虎牙全局
css += '.list-adx{display:none !important;}';//直播分区“头图广告”
css += '.dot--g92BzaqFUtbPTJytM_job::after{display:none !important;}';//顶部工具栏“小红点”
css += '.mod-sidebar{display:none !important;}';//左侧导航栏
css += '.helperbar-root--12hgWk_4zOxrdJ73vtf1YI{display:none !important;}';//右侧工具栏
css += '.liveList-header-r{display:none !important;}';//分区右上方“领取银豆广告”
//虎牙直播间
css += '.room-hd{display:none !important;}';//标题栏
css += '.room-core-r{display:none !important;}';//弹幕框
css += '.player-gift-left,.week-star-0,.player-face,.player-gift-right{display:none !important;}';//礼物栏“礼物广告”
css += '.room-footer{display:none !important;}';//主播动态,猜你喜欢
css += '.room-core-l{height: 100%;width: 100% !important;}';//视频大小调整
css += '.player-fullpage-right-close{display:none !important;}';//网页全屏右侧控制条
css += '.player-subscribe{display:none !important;}';//视频内主播头像
css += '#player-pc-watch-btn{display:none !important;}';//视频全屏后小窗播放按钮
css += '.room-backToTop, .j_room-backToTop{display:none !important;}';//右侧返回顶部按钮
//虎牙专题活动直播间
css += '.match_body_wrap,.diy-comp,.J_comp_2,.special-bg{display:none !important;}';//专题板块
css += '.main-room{background: rgb(0 0 0 / 0%) !important;}';//直播间背景


loadStyle(css)
function loadStyle(css) {
var style = document.createElement('style');
style.type = 'text/css';
style.rel = 'stylesheet';
style.appendChild(document.createTextNode(css));
var head = document.getElementsByTagName('head')[0];
head.appendChild(style);

}
})();

As a result of this appeal, a moderator undeleted this script.