- 去除了直播页面一些广告 / 首页也进行了部分调整
- 调整了布局,直播间主播信息,礼物区,聊天区等
- 少许美化 / 滚动条美化 / title去除游戏按钮 / 列表页面 圆角显示 / 圆形主播头像 等
- 修改部分全部有注释,可自行修改
清爽斗鱼,聚焦直播区 by basonwoo
Details
Authorbasonwoo
LicenseCC0-1.0
Categorydouyu.com
Created
Updated
Size7.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name 清爽斗鱼,聚焦直播区
@namespace USO Archive
@author Another_Dreams
@description `1.去除了直播页面一些广告/首页也进行了部分调整2.调整了布局,直播间主播信息,礼物区,聊天区等3.少许美化 / 滚动条美化 / title去除游戏按钮 / 列表页面 圆角显示 / 圆形主播头像 等4.修改部分全部有注释,可自行修改`
@version 20220204.01.37
@license CC0-1.0
@preprocessor uso
@advanced dropdown -fans-rank "粉丝殷勤榜" {
true "屏蔽*" <<<EOT /*去酬勤榜*\/
.fans-rank {
display: none!important;
height: 0px!important;
}
.layout-Player-rank, .layout-Player-rankAll {
display: none !important;
}
.layout-Player-barrage {
top: 38px !important;
}
/*聊天弹幕*\/
.PlayerCaseSub-Main .chat-cont {
top: 0px !important;
border-radius: 4px 4px 0px 0px;
} EOT;
false "不屏蔽" <<<EOT EOT;
}
@advanced dropdown scrollbar "滚动条美化" {
true "开启*" <<<EOT @-moz-document domain("douyu.com") {
/* 滚动条美化 *\/
/* Let's get this party started *\/
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/* Track *\/
::-webkit-scrollbar-track {
/* -webkit-box-shadow: inset 0 0 5px rgba(255, 153, 0, 0.6);*\/
background-color: #F5F5F5;
}
/* Handle *\/
.Barrage-main > div > div:nth-of-type(3) > div {
border-radius: 4px;
background-color: /*[[scrollbar-color]]*\/ !important;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, .2) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, .2) 50%,
rgba(255, 255, 255, .2) 75%,
transparent 75%,
transparent);
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: /*[[scrollbar-color]]*\/ !important;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, .2) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, .2) 50%,
rgba(255, 255, 255, .2) 75%,
transparent 75%,
transparent);
}
} EOT;
false "不开启" <<<EOT EOT;
}
@advanced color scrollbar-color "滚动条颜色" #FF9900
@advanced dropdown firefox "火狐浏览器兼容" {
false "Chrome*" <<<EOT EOT;
true "FireFox" <<<EOT EOT;
}
==/UserStyle== */
@-moz-document domain("douyu.com") {
/*====================================================
Douyu Cleaner 清爽斗鱼
generate by Another_Dreams
modified by bason_woo
Blog: weijohn.me
Last updated: 2022/02/04
======================================================*/
/*====================================================
基于 Chrome 50+ 进行编写,配合ABP或uBlock
主要针对登陆后的斗鱼,不登陆时有些细节未调整!!!
=====================================================*/
/****** 适配新版本 ******/
.TurntableLottery, .RewardModal-recommendList,
.RewardModal-text,
.WeekRank,
.Title-roomOtherBottom,
.code-box-15b952,
.recommendApp-0e23eb,
/*导航*/
.EntryNav,
.Header-holder,
.HeaderBroadcast,
.Download > .public-DropMenu,
#header .headerdown-corner,
.Download-iconAdd,
.video-entry.fl,
.funny.fl,
.fl.o-broadcast,
.fl.o-download {
display: none !important;
}
.Header-wrap.is-darkMode .EntryNav-desc,
.Header-wrap.is-darkMode .Header-menu-link > a,
.Header-wrap.is-darkMode .public-DropMenu-link,
.Header-wrap.is-darkMode {
color: #666;
}
/*个人*/
.Task,
.Promotion {
display: none !important;
}
/*-------直播间------*/
.Title-categoryItem {
max-width: 100px !important;
}
.XinghaiAd,
.AppFlow,
.PaladinWeek,
.RoomLevel,
.player_h5_adDom,
.yearFestival201810Mini,
.multiBitRate-da4b60,
/*互动竞猜*/
.guessGameContainer.is-normalRoom,
/*弹幕区屏蔽通知提示语*/
.BarrageTips--active,
/*亲密互动*/
.PlayerToolbar-ContentCell.is-full,
.Title-roomInfo .Title-row:nth-of-type(0n+2) .Title-col:last-of-type {
display: none !important;
}
/*-------礼物区------*/
.ActivityItem:not([data-flag=room_level]) {
display: none;
}
.is-fullScreenPage .ActivityItem {
display: inline-block;
}
#js-room-activity,
.LuckGiftEnter-enter,
.LuckGiftEnter,
.PlayerToolbar-signCont,
.RotaryDraw-enter.JS_RotaryDraw_APP,
.PlayerToolbar-ycInfo,
.PlayerToolbar-getYCArea,
.PlayerToolbar-Task,
.FirstRecharge,
.layout-Bottom {
display: none !important;
}
.RewardModule-tips {
top: 24px!important;
}
.is-fullScreenPage .layout-Player-toolbar {
height: 88px!important;
margin-top: 0px;
}
.is-fullScreenPage .PlayerToolbar {
padding: 5px!important;
}
.layout-Player-toolbar {
border-top-style: groove!important;
border-top-width: 1px !important;
height: 85px!important;
margin-top: 5px;
}
.PlayerToolbar {
padding: 5px!important;
}
.PlayerToolbar-Wealth {
width: auto!important;
margin-top: 10px!important;
}
/*-------标题栏------*/
.Title-row:nth-child(3),
.Title-impress.clearFix,
.YzQualifyingEntry,
.YzRankList,
.GiftStarIcon,
.anchor-pic .anchor-cover-wrap .text,
.ComSuperscript,
.pk-grading-con,
.StarsGathered,
.YubaGroup-text,
.HugeStarRanking,
.Title-followFocus {
display: none !important;
}
.Title {
height: 66px !important;
padding-left: 78px !important;
padding-bottom: 0px;
padding-top: 0px;
}
.Title-anchorPic,
.Title--noAnchorImpress .Title-anchorPic,
.Title--noAnchorImpress .YubaGroup-anchorCoverWrap {
width: 65px!important;
height: 65px!important;
margin: 0px;
}
.Title-anchorInfo {
float: right!important;
margin-top: -23px!important;
margin-right: 5px!important;
}
.layout-Player-title {
min-height: 65px!important;
margin-bottom: 5px;
}
.RewardModal.super {
min-height: 110px!important;
}
.Title-roomOtherTop {
zoom: 0.7!important;
-moz-transform: scale(0.7);
right: 20px!important;
}
/*圆角头像*/
.Title-anchorPicBack {
background: none!important;
}
.Title-anchorPicBack img,
.Title-anchorPicBack picture {
border-radius: 50%!important;
box-shadow: 0 0 2px #00000080;
}
/*---------聊天弹幕区---------*/
/*排行榜*/
/*[[-fans-rank]]*/
.layout-Player-rank,
.layout-Player-rankAll {
display: none !important;
}
.layout-Player-barrage {
top: 38px !important;
}
/*聊天弹幕*/
.PlayerCaseSub-Main .chat-cont {
top: 0px !important;
border-radius: 4px 4px 0px 0px;
}
.Medal,
.BarrageBanner,
.Barrage-icon,
.Barrage-userEnter,
.FansMedal-name,
.Motor,
.UserLevel,
.Summer_Medal_low,
.ChatAchievement-image,
.ChatEffect,
.TVGameEntry {
display: none !important;
}
.Barrage-message,
.Barrage-notice {
display: none !important;
}
.Barrage-noble,
.Barrage-nobleImg,
.FansMedal {
width: 0px!important;
height: 0px!important;
background-image: none!important;
}
.Barrage-listItem {
margin-bottom: 0px!important;
margin-top: 0px!important;
}
.Barrage-notice--noble {
padding: 0px!important;
background: #f8f8f8!important;
border-top: 1px solid #f8f8f8!important;
border-bottom: 1px solid #f8f8f8!important;
background-color: #f8f8f8!important;
}
.Barrage--paddedBarrage {
padding: 0px 10px!important;
}
.js-noblefloating-barragecont.Barrage-notice--noble {
padding-left: 10px!important;
}
.layout-Main {
padding-top: 10px!important;
}
/*---------左侧菜单---------*/
a.AsideUnfold-channelItem.channelGame,
a.AsideFold-listIitem.channelGame {
display: none!important;
}
}
/*--------滚动条美化--------*/
/*[[scrollbar]]*/