Skip to content

自用:bilibili播放页便于观看和使用 by arden

Details

Authorarden

LicenseNo License

Categorybilibili

Created

Updated

Size2.0 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         自用:bilibili播放页便于观看和使用
@version      20230919.15.03
@namespace    userstyles.world/user/arden
@description  删除没用的推广、展开更多、调整播放列表宽度
@author       arden
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://www.bilibili.com/video"), url-prefix("https://www.bilibili.com/") {
/* 播放列表宽度和高度 */
.base-video-sections-v1[data-v-255623e2],
#multi_page{
    width: 500px !important;
}


#multi_page > div.cur-list > ul > li{
    width: 500px !important;
}

.multi-page-v1 .cur-list{
    overflow:hidden !important;
    max-height: 480px !important;
}


/* 评论区上方视频关键字下方的没用广告 */
#activity_vote{
    display: none !important;
}

/* 展开视频简介 */
#v_desc > div.desc-info.desc-v2{
    height: auto !important;
}
/* 删除“展开更多”按钮 */
#v_desc > div.toggle-btn{
    display: none !important;
}
/* 新版反馈、回到旧版 */
#app > div.video-container-v1 > div.fixed-nav{
    display: none;
}
/* 删除客服按钮 */
#app > div.video-container-v1 > div.float-nav-exp > div > a{
    display: none;
}
/* ======================== */
/* 另外一个播放列表宽高,之前写的没生效,选择器为什么不一样呢 */
.action-list-container[data-v-20fb7430]{
/*     height: 480px !important; */
    width: 35vw;
}
#playlist-video-action-list-body{
  
    max-height: none !important;
}
#playlist-video-action-list{
    max-height: 80vh !important;
}

/* ======================== */



}

@-moz-document url-prefix("https://www.bilibili.com/") {
/* 首页不看的内容,挡到我的推荐了, 不想修改首页就这一部分全删了 */
.recommended-swipe,   
/* .feed-floor .bili-grid.channel-floor, */
.eva-extension-feed-area
{
    display: none;
}

/* 一行显示4视频个提少了,这显示5个,不舒服了再改6个 */
.feed-recommend2,
.feed2-recommend,
.feed-floor .feed-floor-list
{
    grid-template-columns: repeat(5,1fr);
}
}

Reviews

No reviews yet.