From 87d797c39f62176eb04e4c8b8a6feb7d48303cc8 Mon Sep 17 00:00:00 2001 From: the1812 Date: Fri, 26 Jun 2020 09:57:32 +0800 Subject: [PATCH 1/2] Fix bug --- bilibili-evolved.offline.user.js | 7 +++---- bilibili-evolved.preview-offline.user.js | 7 +++---- bilibili-evolved.preview.user.js | 5 ++--- bilibili-evolved.user.js | 5 ++--- min/bundle.json | 5 ++--- min/bundle.zip | Bin 2314516 -> 2304186 bytes min/show-cover-before-play.min.js | 2 +- .../show-cover-before-play.ts | 9 +++++++-- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/bilibili-evolved.offline.user.js b/bilibili-evolved.offline.user.js index df507b496..a403c710a 100644 --- a/bilibili-evolved.offline.user.js +++ b/bilibili-evolved.offline.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Bilibili Evolved (Offline) -// @version 709.95 +// @version 710.76 // @description Bilibili Evolved 的离线版, 所有功能都已内置于脚本中. // @author Grant Howard, Coulomb-G // @copyright 2020, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G) @@ -1309,7 +1309,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m @namespace Bilibili-Evolved @homepageURL https://github.com/the1812/Bilibili-Evolved @updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/min/dark.user.css -@version 709.15.0 +@version 709.78.0 @license MIT @author Grant Howard (https://github.com/the1812), Coulomb-G (https://github.com/Coulomb-G) ==/UserStyle== */ @@ -1321,7 +1321,6 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-important.min.css"] = `#disable-popup-modal .vip-exchange .months button.disabled,#vip-exchange-modal .vip-exchange .months button.disabled,.action-row .publish-btn.disabled,.action-row .publish-btn.publishing,.action-row .sch-pub-btn.disabled,.action-row .sch-pub-btn.publishing,.app-body .section-block,.bl-button--primary:disabled,.home-content .publish-btn.disabled,.link-footer,.payment-active,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-indicator,.tab-list .tab-item.active:before{background-color:#222!important}.app-body .section-block.with-bottom-radius,.app-body .section-block.with-radius,.bb-comment .no-login .comment-submit,.common .bb-comment .no-login .comment-submit,.container .pagination,.coupon-content-con .coupon-btn-disable,.customize-wrp .select,.f-list-hover:hover,.fjw-case-detail .ban-detail .content-box .video-model,.game-groom-m .num,.main-container .media-info .media-right .media-tool-bar .btn-follow.active,.main-container .pay-bar .vip .btn-pay.active,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.pagination-container li.pagination,.status_box .status_btn.disabled,.wrapper .elec-btn.disabled{background-color:#444!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-indicator{background-color:#555!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-vertical-scrollbar.mousedown,.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap:hover .bscroll-vertical-scrollbar,.m-recommend-item div.box,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar.mousedown,.player-auxiliary-area .player-auxiliary-bscrollbar:hover .bscroll-vertical-scrollbar{background-color:transparent!important}.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.status_box .status_btn.disabled,blockquote,blockquote *,blockquote .color-blue-01,blockquote .color-blue-02,blockquote .color-blue-03,blockquote .color-blue-04,blockquote .color-gray-01,blockquote .color-gray-02,blockquote .color-gray-03,blockquote .color-gray-04,blockquote .color-green-01,blockquote .color-green-02,blockquote .color-green-03,blockquote .color-green-04,blockquote .color-lblue-01,blockquote .color-lblue-02,blockquote .color-lblue-03,blockquote .color-lblue-04,blockquote .color-pink-01,blockquote .color-pink-02,blockquote .color-pink-03,blockquote .color-pink-04,blockquote .color-purple-01,blockquote .color-purple-02,blockquote .color-purple-03,blockquote .color-purple-04,blockquote .color-yellow-01,blockquote .color-yellow-02,blockquote .color-yellow-03,blockquote .color-yellow-04{color:#aaa!important}#app .sticky-bar .bar-content .message,.bb-comment .no-login .comment-submit,.bp-popup-panel .title-ctnr .popup-title,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.coupon-content-con .coupon-btn-disable,.cover .disabled-cover,.customize-wrp .select,.el-input__inner,.home-page .sticky-bar .bar-content .message,.invitation-record-warp .invtable .inputdone,.live-room-app .guard-rank-cntr .tabs.isHundred .item.active,.live-room-app .guard-rank-cntr.hundred .live-skin-highlight-text,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text,.live-room-app .guard-rank-cntr.hundred .page-box .live-skin-main-text,.live-room-app .guard-rank-cntr.thousand .live-skin-highlight-text,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text,.live-room-app .guard-rank-cntr.thousand .page-box .live-skin-main-text,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.popup-content-ctnr .bl-button--ghost,.s-paging>ul>a.current,.s-paging>ul>span.current,.score-info .go-movie,.tag-list li.tag-item.on{color:#eee!important}#rank-list-vm .tabs.isHundred .item,.bb-comment .no-login .comment-submit,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.el-input__inner,.enter-failure .password-input .pink-border,.link-footer,.popup-content-ctnr .bl-button--ghost:hover,.score-info .go-movie,.select-box-v2-container .select-box-v2-controller-disabled,.song-info .info-wrap .type-list .item-list .type-item.active,.tabs-bar,.ui-input-textarea.focus,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent!important}#app .sticky-bar .bar-content .message:hover,.app-layout .style-section .tag-block .tag-containers .style-tag.selected,.container .video-panel .play-all .bilifont,.detail-wrp .detail-content[data-v-00c9b213] p a span,.drop-list-v2-container .drop-list-v2-item-selected .drop-list-v2-item-cont p.item-cont-main,.edit-button:hover>.icon-font,.edit-button:hover>span .left-nav-item-childed:hover,.el-select-dropdown__item.selected,.home-page .sticky-bar .bar-content .message:hover,.im-popup .bp-popup-panel .title-ctnr .popup-title,.left-nav-wrapper .active,.left-nav-wrapper .active .left-nav-item-child,.left-nav-wrapper .advice-btn:hover,.left-nav-wrapper .left-nav-item.active,.left-nav-wrapper .left-nav-item.active i.active,.left-nav-wrapper .left-nav-list.on .left-nav-item,.left-nav-wrapper .left-nav-list.on .left-nav-item .icon,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text:hover,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text:hover,.live-skin-normal-a-text:active,.manga-detail .episode-list-component .episode-list .list-header .header-item.selected,.more-data a:hover,.other a a:hover,.r-con .members-info .up-card .info-name.is-vip:hover,.rank-item .content .info .detail a a:hover,.rank-item .content .info:hover .title,.rank-item .content .more-data:hover,.rank-item .content .other a:hover,.room-info-down-row .icon-label.hover-text-blue:hover .label,.room-introduction .edit-button:hover>.icon-font,.room-introduction .edit-button:hover>span,.round-corner .van-popper-favorite .play-all .bilifont,.up-info .u-info .name .username.is-vip:hover,.voucher-ing .voucher-left-money,.voucher-ing .voucher-left-money:before,.voucher-no-used .voucher-left-money,.voucher-no-used .voucher-left-money:before{color:var(--theme-color)!important}.aside-ctnr .author-info .communicate-btn,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.page-list-box .page-input:focus,.page-list-box .page-input:hover,.popup-content-ctnr .bl-button--ghost,.season-timeline .season-group.today,.season-timeline .season-group.today .group-time::before,.tag-list li.tag-item.on,.tag-list li.tag-item:hover{border-color:var(--theme-color)!important}.bg-blue,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.popup-content-ctnr .bl-button--primary,.season-timeline .season-group.today.is-published .group-time::before,.security-list .child-list li a.bg-blue:hover,.song-info .info-wrap .type-list .item-list .type-item.active,.tag-list li.tag-item.on,.user-my-btn .el-button--primary,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{background-color:var(--theme-color)!important}.current .tab-btn-link,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.style-section .tag-block .tag-containers .style-tag:active{color:var(--foreground-color)!important}#bilibiliPlayer{box-shadow:0 4px 8px 0 #0004;background-color:#222!important}.live-skin-coloration-area .live-skin-separate-area,.live-skin-coloration-area .live-skin-separate-area-hover:hover{background-color:#222!important}.live-skin-coloration-area .live-skin-normal-a-text,.live-skin-coloration-area .live-skin-normal-a-text:link,.live-skin-coloration-area .live-skin-normal-a-text:visited,.live-skin-coloration-area .live-skin-normal-text{color:#aaa!important}.live-skin-coloration-area .live-skin-highlight-text,.live-skin-coloration-area .live-skin-main-text{color:#eee!important}.live-skin-coloration-area .live-skin-highlight-border,.live-skin-coloration-area .live-skin-separate-border{border-color:transparent!important}.live-skin-coloration-area .live-skin-normal-a-text:hover{color:var(--theme-color)!important}.live-skin-coloration-area .room-info-ctnr .info-section .live-skin-highlight-border{border-color:var(--theme-color)!important}.live-skin-coloration-area .live-skin-highlight-bg{background-color:var(--theme-color)!important}::-webkit-scrollbar{width:5px!important;height:5px!important}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:0 0!important}::-webkit-resizer,::-webkit-scrollbar-thumb{background:#444!important;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#555!important}*{scrollbar-color:#444 transparent!important;scrollbar-width:thin!important}`; offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-navbar.min.css"] = `#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item:hover,.link-navbar .nav-item:hover,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar,.shortcuts-ctnr .shortcut-item:hover,.uns_box ul.menu li:not(.b-post):hover,.z_top .z_top_nav ul li:hover{background-color:#222!important}#app>.link-navbar,#app>.nav-header-wrapper,#link-navbar-vm>.link-navbar,#navbar-vm>.link-navbar,.b-header-mask-wrp .b-header-mask,.bili-header-m .nav-menu .nav-mask,.bili-header-m .nav-menu.blur-black .nav-mask,.link-navbar{background-color:#333!important}.z_top .i-link:hover,.z_top .z_top_nav ul li.home:hover{background-color:transparent!important}#app>.nav-header-wrapper>.nav-header{background:0 0!important}#app>.link-navbar .main-ctnr .nav-logo,#app>.link-navbar .nav-item.selected .label,#app>.link-navbar .nav-item:hover .icon-font,#app>.nav-header-wrapper>.nav-header .nav-header-mainsite,#app>.nav-header-wrapper>.nav-header .order-center,#link-navbar-vm>.link-navbar .main-ctnr .nav-logo,#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item .t,.link-navbar .main-ctnr .custom-link>a,.link-navbar .main-ctnr .nav-logo,.my-link-btn .label,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar input,.shortcut-item .list-item span,.shortcuts-ctnr .shortcut-item,.uns_box li.u-i a.i-link,.z_top a,.z_top.b-header-blur .uns_box li.u-i a.i-link,.z_top.b-header-blur .z_top_nav li a.i-link{color:#eee!important}.search-bar-ctnr .search-bar .placeholder,.search-bar-ctnr .search-bar .search-btn,.search-bar-ctnr .search-bar input::placeholder{color:#878787!important}.uns_box li.u-i:hover a.i-link,.z_top .i-link:hover{color:var(--theme-color)}.link-navbar,.link-navbar-ctnr{box-shadow:none!important}.link-navbar .main-ctnr .nav-logo::before,.nav-header-wrapper .nav-header .order-icon{filter:brightness(0) invert(1)!important}.search-bar-ctnr .search-bar{border-color:transparent!important;box-shadow:0 2px 10px 1px #0002}`; offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-schedule.min.js"] = (()=>{return(e,t)=>{class i{constructor(...e){if(e.length===0){const e=new Date;this.hour=e.getHours();this.minute=e.getMinutes()}else if(e.length===1){const[t]=e;[this.hour,this.minute]=t.split(":").slice(0,2).map(e=>this.validatePart(e));this.normalize()}else if(v.length===2){[this.hour,this.minute]=e}}validatePart(e){const t=parseInt(e);if(!isNaN(t)&&t>=0&&t<=59){return t}else{return null}}normalize(){while(this.minute<0){this.minute+=60;this.hour-=1}while(this.minute>=60){this.minute-=60;this.hour+=1}while(this.hour<0){this.hour+=24}while(this.hour>=24){this.hour-=24}}lessThan(e){if(this.houre.hour||this.hour===e.hour&&this.minute>e.minute){return true}return false}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t)){return false}let i=this.greaterThan(e)&&this.lessThan(t);if(e.greaterThan(t)){i=this.greaterThan(e)||this.lessThan(t)}const s=i||this.equals(e);return s}static millisecondsBefore(e){const t=new i;const s=(new Date).getSeconds();const r=1e3*(t.hour*3600+t.minute*60+s);const n=1e3*(e.hour*3600+e.minute*60);let h=n-r;if(t.greaterThan(e)||t.equals(e)&&s!==0){h+=24*3600*1e3}return h}}function s(){if(e.darkSchedule){const t=new i(e.darkScheduleStart);const r=new i(e.darkScheduleEnd);const n=new i;const h=n.isInRange(t,r);if(e.useDarkStyle!==h){e.useDarkStyle=h}let u=0;if(h){u=i.millisecondsBefore(r)}else{u=i.millisecondsBefore(t)}if(u!==0){setTimeout(()=>s(),u)}}}fullyLoaded(()=>s());return{export:{ScheduleTime:i}}}})(); -offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-slice-12.min.css"] = `.new-topic-panel{background-color:#444!important}.new-topic-panel .tag-item .label{background-color:#333!important;color:#eee!important}.new-topic-panel .more-button .more:hover{color:var(--theme-color)!important}.new-topic-panel .more-button .more:hover::after{border-color:var(--theme-color)!important}.bypb-window .online{background-color:#444!important;border-color:transparent!important}.bypb-window .online a{color:#eee!important}.bypb-window .online a:hover{color:var(--theme-color)!important}.bilibili-search-history .history-item:hover{background-color:#222!important}.bilibili-search-history .cancel-icon:hover{color:var(--theme-color)!important}.v-wrap .r-con .notice{background-color:#444!important}.video-container .text-area .subtitle{color:#aaa!important}.image-upload-btn:hover{filter:var(--blue-image-filter)!important}.msg-notify{background-color:#222!important}.msg-notify hr{background-color:#444!important}.msg-notify .context-menu{background-color:#444!important;color:#eee!important}.msg-notify .link i{filter:var(--blue-image-filter)!important}.popup-bg-cntr .popup-cntr{background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part{background-color:#222!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-name{color:#eee!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-state{color:#aaa!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active{background-image:none!important;background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active .round-name .progress{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .activity-name,.popup-bg-cntr .popup-cntr .right-part .not-bingo,.popup-bg-cntr .popup-cntr .right-part .not-join{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list{background-color:#555!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .bingo-group-item-cntr .bingo-group-item .title{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item .desc{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item img{border-color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .right-top-corner .rule{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr{background-color:#222!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr .title{color:#eee!important}.draw-fold-cntr .sender-info{background-color:#222!important;color:#eee!important;box-shadow:0 0 0 1px var(--theme-color)!important}.draw-fold-cntr .sender-info .name{color:#eee!important}.draw-fold-cntr .sender-info .words{color:#aaa!important}.article-holder .bangumi-card a .cover{border-color:#444!important}.user-panel .number-part .numbers{color:#eee!important}.user-panel .number-part:hover .numbers{color:var(--theme-color)!important}.main-container .ep-list-wrapper .list-title .ep-list-order,.main-container .ep-list-wrapper .list-title .ep-list-order:hover,.main-container .ep-list-wrapper .list-title .mode-change i,.main-container .ep-list-wrapper .list-title .mode-change i:hover{filter:var(--blue-image-filter)!important}.gift-item.buy.hover,.gift-item.buy:hover{background-color:#222!important}.cntr .user-protocol{border-color:#444!important}.cntr .silver-seed-store{background-color:#444!important}.cntr .silver-seed-store .content,.collection-bg .collection-board{background-color:#222!important}.collection-bg .collection-board .collection-submit{background-color:#444!important;color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-attr{color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-name,.collection-bg .collection-board .collection-list .collection-li .collection-song-number{color:#eee!important}.collection-bg .collection-board .collection-submit.active{background-color:var(--theme-color)!important;color:#eee!important}.collection-bg .collection-board .collection-theme{color:#eee!important}.collection-bg .collection-board .collection-list{border-color:#444!important}.collection-bg .collection-board .collection-list .collection-li .collection-checkbox .collection-checked,.collection-bg .collection-board .collection-list .collection-li:hover .collection-checkbox,.collection-bg .collection-board .collection-list .collection-li:hover .collection-name{color:var(--theme-color)!important}.channel-menu-mini .box a:hover{background-color:#444!important}.game-item .info .grade-wrap{color:#aaa!important}.game-item .info .grade-wrap .other-grades{background-color:#444!important;border-color:transparent!important}.game-item .info .grade-wrap .other-grades .grade-li{color:#aaa!important}.classroom-wrapper .content .block-list-item-title,.classroom-wrapper .content .block-page-progress,.classroom-wrapper .content .block-title,.classroom-wrapper .nav-wrapper,.classroom-wrapper .nav-wrapper .rec-title{color:#eee!important}.classroom-wrapper .content .block-list .slider-contro .slider-next,.classroom-wrapper .content .block-list .slider-contro .slider-prev{filter:brightness(0) invert(1)!important}.classroom-wrapper .content .block-list .slider-contro .slider-next:hover,.classroom-wrapper .content .block-list .slider-contro .slider-prev:hover{filter:var(--white-image-filter)!important;background-color:#444!important}.classroom-wrapper .rank-title{color:#eee!important}.s_tag .tag-area .channel-icon{filter:brightness(0) invert(1)!important}.s_tag .tag-area .channel-name{color:#eee!important}.s_tag .tag-area .tag-channel-pane{background-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-cover{border-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-title{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-desc{color:#aaa!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link{color:var(--theme-color)!important;border-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link:hover{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .is-subs{background-color:#222!important;color:#eee!important;border-color:transparent!important}.s_tag .tag-area .tag-channel-pane .channel-btns .no-subs{color:var(--foreground-color)!important;border-color:var(--theme-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup{background-color:#444!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup p{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-ok{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-no{color:#eee!important;background-color:#222!important}.share-board .song-share .font-blue{color:var(--theme-color)!important}.guard-store-box .buy-detail{color:#eee!important}.guard-store-box .buy-detail .master{color:var(--theme-color)!important}.guard-store-box .select-month{color:#eee!important}.guard-store-box .select-month .month-selector .month-info{color:#eee!important;border-color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .month-list{background-color:#444!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item{color:#eee!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item:hover .days{color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .triangle:before{border-color:#444 transparent transparent!important}.guard-store-box .expired-date{color:#aaa!important}.crowdfunding-container .current-num-wrap .current-num,.guard-store-box .btn-box .total-price{color:#eee!important}.crowdfunding-container .current-num-wrap .join-status{color:#aaa!important}.crowdfunding-container .tips-container .status{color:var(--theme-color)!important}.crowdfunding-container .tips-container .status.fail{color:#aaa!important}.crowdfunding-container .tips-container .status.nostart{color:#eee!important}.crowdfunding-container .progress-container{background-color:#222!important}.crowdfunding-container .progress-container .progress-fill.highlight{background-color:var(--theme-color)!important}.crowdfunding-container .current-pro-num.highlight{color:var(--theme-color)!important}.crowdfunding-container .goal-container{color:#aaa!important}.crowdfunding-container .goal-container .goal-num,.crowdfunding-container .goal-container .goal-time{color:#eee!important}.crowdfunding-container .risk-tip-container .risk-content{background-color:#222!important}.ticket-tips-wrapper .merchant-section{background-color:#444!important}.ticket-tips-wrapper .merchant-section .merchant-header{color:#eee!important}.ticket-tips-wrapper .merchant-section .merchant-header span{filter:var(--pink-image-filter)!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title{background-color:#333!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .close,.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .open{filter:var(--pink-image-filter)!important}.searchresult-total-number .left-line{background-image:linear-gradient(90deg,#444,#aaa)!important}.searchresult-total-number .right-line{background-image:linear-gradient(90deg,#aaa,#444)!important}.searchresult-total-number .total-num{color:#aaa!important}.h #h-sign:focus{background-color:#444!important;color:#eee!important;box-shadow:inset 0 2px 4px #0008!important}.action-button:hover .border,.action-button>.action-icon.active .border{fill:var(--theme-color)!important}.history-list .r-info .w-info .device{color:#aaa!important}.history-list .r-info .w-info .name{border-color:#444!important}`; offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-styles.min.js"] = (()=>{return(e,t)=>{const r=()=>{SpinQuery.select(".custom-scrollbar").then(e=>e&&e.classList.remove("custom-scrollbar"))};const l=()=>{document.body.classList.remove("dark");t.removeStyle("darkStyleNavBar");t.removeStyle("darkStyle");t.removeStyle("darkStyleImportant")};const o=["//member.bilibili.com/v2","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects"];const a=()=>{if(e.noDarkOnMember&&o.some(e=>{if(typeof e==="string"){return document.URL.replace(location.search,"").includes(e)}else{return e.test(document.URL.replace(location.search,""))}})){l();return}document.body.classList.add("dark");r();if(!e.useDarkStyleAsUserStyle){t.applyImportantStyle("darkStyleNavBar");t.applyStyle("darkStyle");t.applyImportantStyle("darkStyleImportant")}};a();addSettingsListener("useDarkStyleAsUserStyle",()=>{l();a()});return{reload:a,unload:l}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/debounce.min.js"] = (()=>{return(n,l)=>{function u(n,l,u){var e,t,i,r,f;if(null==l)l=100;function o(){var a=Date.now()-r;if(a=0){e=setTimeout(o,l-a)}else{e=null;if(!u){f=n.apply(i,t);i=t=null}}}var a=function(){i=this;t=arguments;r=Date.now();var a=u&&!e;if(!e)e=setTimeout(o,l);if(a){f=n.apply(i,t);i=t=null}return f};a.clear=function(){if(e){clearTimeout(e);e=null}};a.flush=function(){if(e){f=n.apply(i,t);i=t=null;clearTimeout(e);e=null}};return a}return{export:{debounce:u}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/default-danmaku-settings.min.css"] = `.bilibili-player-video-danmaku-setting-wrap{display:none!important}`; @@ -1458,7 +1457,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const r="showCoverBeforePlayStyle";const t=()=>{Observer.videoChange(async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(r);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const t=await SpinQuery.select("video");if(!t){console.warn("[播放前显示封面] 未找到视频");return}const{VideoInfo:i}=await o.importAsync("video-info");const l=new i(e);await l.fetchInfo();document.body.style.setProperty("--cover-url",`url('${l.coverUrl}')`);t.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})})};t();return{reload:()=>o.applyStyle(r),unload:()=>o.removeStyle(r)}}})(); +offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/bilibili-evolved.preview-offline.user.js b/bilibili-evolved.preview-offline.user.js index eeda3e4b8..e5579b112 100644 --- a/bilibili-evolved.preview-offline.user.js +++ b/bilibili-evolved.preview-offline.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Bilibili Evolved (Preview Offline) -// @version 709.95 +// @version 710.76 // @description Bilibili Evolved 的预览离线版, 可以抢先体验新功能, 并且所有功能都已内置于脚本中. // @author Grant Howard, Coulomb-G // @copyright 2020, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G) @@ -1309,7 +1309,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m @namespace Bilibili-Evolved @homepageURL https://github.com/the1812/Bilibili-Evolved @updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/min/dark.user.css -@version 709.15.0 +@version 709.78.0 @license MIT @author Grant Howard (https://github.com/the1812), Coulomb-G (https://github.com/Coulomb-G) ==/UserStyle== */ @@ -1321,7 +1321,6 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-important.min.css"] = `#disable-popup-modal .vip-exchange .months button.disabled,#vip-exchange-modal .vip-exchange .months button.disabled,.action-row .publish-btn.disabled,.action-row .publish-btn.publishing,.action-row .sch-pub-btn.disabled,.action-row .sch-pub-btn.publishing,.app-body .section-block,.bl-button--primary:disabled,.home-content .publish-btn.disabled,.link-footer,.payment-active,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-indicator,.tab-list .tab-item.active:before{background-color:#222!important}.app-body .section-block.with-bottom-radius,.app-body .section-block.with-radius,.bb-comment .no-login .comment-submit,.common .bb-comment .no-login .comment-submit,.container .pagination,.coupon-content-con .coupon-btn-disable,.customize-wrp .select,.f-list-hover:hover,.fjw-case-detail .ban-detail .content-box .video-model,.game-groom-m .num,.main-container .media-info .media-right .media-tool-bar .btn-follow.active,.main-container .pay-bar .vip .btn-pay.active,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.pagination-container li.pagination,.status_box .status_btn.disabled,.wrapper .elec-btn.disabled{background-color:#444!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-indicator{background-color:#555!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-vertical-scrollbar.mousedown,.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap:hover .bscroll-vertical-scrollbar,.m-recommend-item div.box,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar.mousedown,.player-auxiliary-area .player-auxiliary-bscrollbar:hover .bscroll-vertical-scrollbar{background-color:transparent!important}.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.status_box .status_btn.disabled,blockquote,blockquote *,blockquote .color-blue-01,blockquote .color-blue-02,blockquote .color-blue-03,blockquote .color-blue-04,blockquote .color-gray-01,blockquote .color-gray-02,blockquote .color-gray-03,blockquote .color-gray-04,blockquote .color-green-01,blockquote .color-green-02,blockquote .color-green-03,blockquote .color-green-04,blockquote .color-lblue-01,blockquote .color-lblue-02,blockquote .color-lblue-03,blockquote .color-lblue-04,blockquote .color-pink-01,blockquote .color-pink-02,blockquote .color-pink-03,blockquote .color-pink-04,blockquote .color-purple-01,blockquote .color-purple-02,blockquote .color-purple-03,blockquote .color-purple-04,blockquote .color-yellow-01,blockquote .color-yellow-02,blockquote .color-yellow-03,blockquote .color-yellow-04{color:#aaa!important}#app .sticky-bar .bar-content .message,.bb-comment .no-login .comment-submit,.bp-popup-panel .title-ctnr .popup-title,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.coupon-content-con .coupon-btn-disable,.cover .disabled-cover,.customize-wrp .select,.el-input__inner,.home-page .sticky-bar .bar-content .message,.invitation-record-warp .invtable .inputdone,.live-room-app .guard-rank-cntr .tabs.isHundred .item.active,.live-room-app .guard-rank-cntr.hundred .live-skin-highlight-text,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text,.live-room-app .guard-rank-cntr.hundred .page-box .live-skin-main-text,.live-room-app .guard-rank-cntr.thousand .live-skin-highlight-text,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text,.live-room-app .guard-rank-cntr.thousand .page-box .live-skin-main-text,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.popup-content-ctnr .bl-button--ghost,.s-paging>ul>a.current,.s-paging>ul>span.current,.score-info .go-movie,.tag-list li.tag-item.on{color:#eee!important}#rank-list-vm .tabs.isHundred .item,.bb-comment .no-login .comment-submit,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.el-input__inner,.enter-failure .password-input .pink-border,.link-footer,.popup-content-ctnr .bl-button--ghost:hover,.score-info .go-movie,.select-box-v2-container .select-box-v2-controller-disabled,.song-info .info-wrap .type-list .item-list .type-item.active,.tabs-bar,.ui-input-textarea.focus,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent!important}#app .sticky-bar .bar-content .message:hover,.app-layout .style-section .tag-block .tag-containers .style-tag.selected,.container .video-panel .play-all .bilifont,.detail-wrp .detail-content[data-v-00c9b213] p a span,.drop-list-v2-container .drop-list-v2-item-selected .drop-list-v2-item-cont p.item-cont-main,.edit-button:hover>.icon-font,.edit-button:hover>span .left-nav-item-childed:hover,.el-select-dropdown__item.selected,.home-page .sticky-bar .bar-content .message:hover,.im-popup .bp-popup-panel .title-ctnr .popup-title,.left-nav-wrapper .active,.left-nav-wrapper .active .left-nav-item-child,.left-nav-wrapper .advice-btn:hover,.left-nav-wrapper .left-nav-item.active,.left-nav-wrapper .left-nav-item.active i.active,.left-nav-wrapper .left-nav-list.on .left-nav-item,.left-nav-wrapper .left-nav-list.on .left-nav-item .icon,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text:hover,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text:hover,.live-skin-normal-a-text:active,.manga-detail .episode-list-component .episode-list .list-header .header-item.selected,.more-data a:hover,.other a a:hover,.r-con .members-info .up-card .info-name.is-vip:hover,.rank-item .content .info .detail a a:hover,.rank-item .content .info:hover .title,.rank-item .content .more-data:hover,.rank-item .content .other a:hover,.room-info-down-row .icon-label.hover-text-blue:hover .label,.room-introduction .edit-button:hover>.icon-font,.room-introduction .edit-button:hover>span,.round-corner .van-popper-favorite .play-all .bilifont,.up-info .u-info .name .username.is-vip:hover,.voucher-ing .voucher-left-money,.voucher-ing .voucher-left-money:before,.voucher-no-used .voucher-left-money,.voucher-no-used .voucher-left-money:before{color:var(--theme-color)!important}.aside-ctnr .author-info .communicate-btn,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.page-list-box .page-input:focus,.page-list-box .page-input:hover,.popup-content-ctnr .bl-button--ghost,.season-timeline .season-group.today,.season-timeline .season-group.today .group-time::before,.tag-list li.tag-item.on,.tag-list li.tag-item:hover{border-color:var(--theme-color)!important}.bg-blue,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.popup-content-ctnr .bl-button--primary,.season-timeline .season-group.today.is-published .group-time::before,.security-list .child-list li a.bg-blue:hover,.song-info .info-wrap .type-list .item-list .type-item.active,.tag-list li.tag-item.on,.user-my-btn .el-button--primary,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{background-color:var(--theme-color)!important}.current .tab-btn-link,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.style-section .tag-block .tag-containers .style-tag:active{color:var(--foreground-color)!important}#bilibiliPlayer{box-shadow:0 4px 8px 0 #0004;background-color:#222!important}.live-skin-coloration-area .live-skin-separate-area,.live-skin-coloration-area .live-skin-separate-area-hover:hover{background-color:#222!important}.live-skin-coloration-area .live-skin-normal-a-text,.live-skin-coloration-area .live-skin-normal-a-text:link,.live-skin-coloration-area .live-skin-normal-a-text:visited,.live-skin-coloration-area .live-skin-normal-text{color:#aaa!important}.live-skin-coloration-area .live-skin-highlight-text,.live-skin-coloration-area .live-skin-main-text{color:#eee!important}.live-skin-coloration-area .live-skin-highlight-border,.live-skin-coloration-area .live-skin-separate-border{border-color:transparent!important}.live-skin-coloration-area .live-skin-normal-a-text:hover{color:var(--theme-color)!important}.live-skin-coloration-area .room-info-ctnr .info-section .live-skin-highlight-border{border-color:var(--theme-color)!important}.live-skin-coloration-area .live-skin-highlight-bg{background-color:var(--theme-color)!important}::-webkit-scrollbar{width:5px!important;height:5px!important}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:0 0!important}::-webkit-resizer,::-webkit-scrollbar-thumb{background:#444!important;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#555!important}*{scrollbar-color:#444 transparent!important;scrollbar-width:thin!important}`; offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-navbar.min.css"] = `#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item:hover,.link-navbar .nav-item:hover,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar,.shortcuts-ctnr .shortcut-item:hover,.uns_box ul.menu li:not(.b-post):hover,.z_top .z_top_nav ul li:hover{background-color:#222!important}#app>.link-navbar,#app>.nav-header-wrapper,#link-navbar-vm>.link-navbar,#navbar-vm>.link-navbar,.b-header-mask-wrp .b-header-mask,.bili-header-m .nav-menu .nav-mask,.bili-header-m .nav-menu.blur-black .nav-mask,.link-navbar{background-color:#333!important}.z_top .i-link:hover,.z_top .z_top_nav ul li.home:hover{background-color:transparent!important}#app>.nav-header-wrapper>.nav-header{background:0 0!important}#app>.link-navbar .main-ctnr .nav-logo,#app>.link-navbar .nav-item.selected .label,#app>.link-navbar .nav-item:hover .icon-font,#app>.nav-header-wrapper>.nav-header .nav-header-mainsite,#app>.nav-header-wrapper>.nav-header .order-center,#link-navbar-vm>.link-navbar .main-ctnr .nav-logo,#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item .t,.link-navbar .main-ctnr .custom-link>a,.link-navbar .main-ctnr .nav-logo,.my-link-btn .label,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar input,.shortcut-item .list-item span,.shortcuts-ctnr .shortcut-item,.uns_box li.u-i a.i-link,.z_top a,.z_top.b-header-blur .uns_box li.u-i a.i-link,.z_top.b-header-blur .z_top_nav li a.i-link{color:#eee!important}.search-bar-ctnr .search-bar .placeholder,.search-bar-ctnr .search-bar .search-btn,.search-bar-ctnr .search-bar input::placeholder{color:#878787!important}.uns_box li.u-i:hover a.i-link,.z_top .i-link:hover{color:var(--theme-color)}.link-navbar,.link-navbar-ctnr{box-shadow:none!important}.link-navbar .main-ctnr .nav-logo::before,.nav-header-wrapper .nav-header .order-icon{filter:brightness(0) invert(1)!important}.search-bar-ctnr .search-bar{border-color:transparent!important;box-shadow:0 2px 10px 1px #0002}`; offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-schedule.min.js"] = (()=>{return(e,t)=>{class i{constructor(...e){if(e.length===0){const e=new Date;this.hour=e.getHours();this.minute=e.getMinutes()}else if(e.length===1){const[t]=e;[this.hour,this.minute]=t.split(":").slice(0,2).map(e=>this.validatePart(e));this.normalize()}else if(v.length===2){[this.hour,this.minute]=e}}validatePart(e){const t=parseInt(e);if(!isNaN(t)&&t>=0&&t<=59){return t}else{return null}}normalize(){while(this.minute<0){this.minute+=60;this.hour-=1}while(this.minute>=60){this.minute-=60;this.hour+=1}while(this.hour<0){this.hour+=24}while(this.hour>=24){this.hour-=24}}lessThan(e){if(this.houre.hour||this.hour===e.hour&&this.minute>e.minute){return true}return false}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t)){return false}let i=this.greaterThan(e)&&this.lessThan(t);if(e.greaterThan(t)){i=this.greaterThan(e)||this.lessThan(t)}const s=i||this.equals(e);return s}static millisecondsBefore(e){const t=new i;const s=(new Date).getSeconds();const r=1e3*(t.hour*3600+t.minute*60+s);const n=1e3*(e.hour*3600+e.minute*60);let h=n-r;if(t.greaterThan(e)||t.equals(e)&&s!==0){h+=24*3600*1e3}return h}}function s(){if(e.darkSchedule){const t=new i(e.darkScheduleStart);const r=new i(e.darkScheduleEnd);const n=new i;const h=n.isInRange(t,r);if(e.useDarkStyle!==h){e.useDarkStyle=h}let u=0;if(h){u=i.millisecondsBefore(r)}else{u=i.millisecondsBefore(t)}if(u!==0){setTimeout(()=>s(),u)}}}fullyLoaded(()=>s());return{export:{ScheduleTime:i}}}})(); -offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-slice-12.min.css"] = `.new-topic-panel{background-color:#444!important}.new-topic-panel .tag-item .label{background-color:#333!important;color:#eee!important}.new-topic-panel .more-button .more:hover{color:var(--theme-color)!important}.new-topic-panel .more-button .more:hover::after{border-color:var(--theme-color)!important}.bypb-window .online{background-color:#444!important;border-color:transparent!important}.bypb-window .online a{color:#eee!important}.bypb-window .online a:hover{color:var(--theme-color)!important}.bilibili-search-history .history-item:hover{background-color:#222!important}.bilibili-search-history .cancel-icon:hover{color:var(--theme-color)!important}.v-wrap .r-con .notice{background-color:#444!important}.video-container .text-area .subtitle{color:#aaa!important}.image-upload-btn:hover{filter:var(--blue-image-filter)!important}.msg-notify{background-color:#222!important}.msg-notify hr{background-color:#444!important}.msg-notify .context-menu{background-color:#444!important;color:#eee!important}.msg-notify .link i{filter:var(--blue-image-filter)!important}.popup-bg-cntr .popup-cntr{background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part{background-color:#222!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-name{color:#eee!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-state{color:#aaa!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active{background-image:none!important;background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active .round-name .progress{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .activity-name,.popup-bg-cntr .popup-cntr .right-part .not-bingo,.popup-bg-cntr .popup-cntr .right-part .not-join{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list{background-color:#555!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .bingo-group-item-cntr .bingo-group-item .title{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item .desc{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item img{border-color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .right-top-corner .rule{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr{background-color:#222!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr .title{color:#eee!important}.draw-fold-cntr .sender-info{background-color:#222!important;color:#eee!important;box-shadow:0 0 0 1px var(--theme-color)!important}.draw-fold-cntr .sender-info .name{color:#eee!important}.draw-fold-cntr .sender-info .words{color:#aaa!important}.article-holder .bangumi-card a .cover{border-color:#444!important}.user-panel .number-part .numbers{color:#eee!important}.user-panel .number-part:hover .numbers{color:var(--theme-color)!important}.main-container .ep-list-wrapper .list-title .ep-list-order,.main-container .ep-list-wrapper .list-title .ep-list-order:hover,.main-container .ep-list-wrapper .list-title .mode-change i,.main-container .ep-list-wrapper .list-title .mode-change i:hover{filter:var(--blue-image-filter)!important}.gift-item.buy.hover,.gift-item.buy:hover{background-color:#222!important}.cntr .user-protocol{border-color:#444!important}.cntr .silver-seed-store{background-color:#444!important}.cntr .silver-seed-store .content,.collection-bg .collection-board{background-color:#222!important}.collection-bg .collection-board .collection-submit{background-color:#444!important;color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-attr{color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-name,.collection-bg .collection-board .collection-list .collection-li .collection-song-number{color:#eee!important}.collection-bg .collection-board .collection-submit.active{background-color:var(--theme-color)!important;color:#eee!important}.collection-bg .collection-board .collection-theme{color:#eee!important}.collection-bg .collection-board .collection-list{border-color:#444!important}.collection-bg .collection-board .collection-list .collection-li .collection-checkbox .collection-checked,.collection-bg .collection-board .collection-list .collection-li:hover .collection-checkbox,.collection-bg .collection-board .collection-list .collection-li:hover .collection-name{color:var(--theme-color)!important}.channel-menu-mini .box a:hover{background-color:#444!important}.game-item .info .grade-wrap{color:#aaa!important}.game-item .info .grade-wrap .other-grades{background-color:#444!important;border-color:transparent!important}.game-item .info .grade-wrap .other-grades .grade-li{color:#aaa!important}.classroom-wrapper .content .block-list-item-title,.classroom-wrapper .content .block-page-progress,.classroom-wrapper .content .block-title,.classroom-wrapper .nav-wrapper,.classroom-wrapper .nav-wrapper .rec-title{color:#eee!important}.classroom-wrapper .content .block-list .slider-contro .slider-next,.classroom-wrapper .content .block-list .slider-contro .slider-prev{filter:brightness(0) invert(1)!important}.classroom-wrapper .content .block-list .slider-contro .slider-next:hover,.classroom-wrapper .content .block-list .slider-contro .slider-prev:hover{filter:var(--white-image-filter)!important;background-color:#444!important}.classroom-wrapper .rank-title{color:#eee!important}.s_tag .tag-area .channel-icon{filter:brightness(0) invert(1)!important}.s_tag .tag-area .channel-name{color:#eee!important}.s_tag .tag-area .tag-channel-pane{background-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-cover{border-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-title{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-desc{color:#aaa!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link{color:var(--theme-color)!important;border-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link:hover{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .is-subs{background-color:#222!important;color:#eee!important;border-color:transparent!important}.s_tag .tag-area .tag-channel-pane .channel-btns .no-subs{color:var(--foreground-color)!important;border-color:var(--theme-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup{background-color:#444!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup p{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-ok{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-no{color:#eee!important;background-color:#222!important}.share-board .song-share .font-blue{color:var(--theme-color)!important}.guard-store-box .buy-detail{color:#eee!important}.guard-store-box .buy-detail .master{color:var(--theme-color)!important}.guard-store-box .select-month{color:#eee!important}.guard-store-box .select-month .month-selector .month-info{color:#eee!important;border-color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .month-list{background-color:#444!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item{color:#eee!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item:hover .days{color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .triangle:before{border-color:#444 transparent transparent!important}.guard-store-box .expired-date{color:#aaa!important}.crowdfunding-container .current-num-wrap .current-num,.guard-store-box .btn-box .total-price{color:#eee!important}.crowdfunding-container .current-num-wrap .join-status{color:#aaa!important}.crowdfunding-container .tips-container .status{color:var(--theme-color)!important}.crowdfunding-container .tips-container .status.fail{color:#aaa!important}.crowdfunding-container .tips-container .status.nostart{color:#eee!important}.crowdfunding-container .progress-container{background-color:#222!important}.crowdfunding-container .progress-container .progress-fill.highlight{background-color:var(--theme-color)!important}.crowdfunding-container .current-pro-num.highlight{color:var(--theme-color)!important}.crowdfunding-container .goal-container{color:#aaa!important}.crowdfunding-container .goal-container .goal-num,.crowdfunding-container .goal-container .goal-time{color:#eee!important}.crowdfunding-container .risk-tip-container .risk-content{background-color:#222!important}.ticket-tips-wrapper .merchant-section{background-color:#444!important}.ticket-tips-wrapper .merchant-section .merchant-header{color:#eee!important}.ticket-tips-wrapper .merchant-section .merchant-header span{filter:var(--pink-image-filter)!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title{background-color:#333!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .close,.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .open{filter:var(--pink-image-filter)!important}.searchresult-total-number .left-line{background-image:linear-gradient(90deg,#444,#aaa)!important}.searchresult-total-number .right-line{background-image:linear-gradient(90deg,#aaa,#444)!important}.searchresult-total-number .total-num{color:#aaa!important}.h #h-sign:focus{background-color:#444!important;color:#eee!important;box-shadow:inset 0 2px 4px #0008!important}.action-button:hover .border,.action-button>.action-icon.active .border{fill:var(--theme-color)!important}.history-list .r-info .w-info .device{color:#aaa!important}.history-list .r-info .w-info .name{border-color:#444!important}`; offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-styles.min.js"] = (()=>{return(e,t)=>{const r=()=>{SpinQuery.select(".custom-scrollbar").then(e=>e&&e.classList.remove("custom-scrollbar"))};const l=()=>{document.body.classList.remove("dark");t.removeStyle("darkStyleNavBar");t.removeStyle("darkStyle");t.removeStyle("darkStyleImportant")};const o=["//member.bilibili.com/v2","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects"];const a=()=>{if(e.noDarkOnMember&&o.some(e=>{if(typeof e==="string"){return document.URL.replace(location.search,"").includes(e)}else{return e.test(document.URL.replace(location.search,""))}})){l();return}document.body.classList.add("dark");r();if(!e.useDarkStyleAsUserStyle){t.applyImportantStyle("darkStyleNavBar");t.applyStyle("darkStyle");t.applyImportantStyle("darkStyleImportant")}};a();addSettingsListener("useDarkStyleAsUserStyle",()=>{l();a()});return{reload:a,unload:l}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/debounce.min.js"] = (()=>{return(n,l)=>{function u(n,l,u){var e,t,i,r,f;if(null==l)l=100;function o(){var a=Date.now()-r;if(a=0){e=setTimeout(o,l-a)}else{e=null;if(!u){f=n.apply(i,t);i=t=null}}}var a=function(){i=this;t=arguments;r=Date.now();var a=u&&!e;if(!e)e=setTimeout(o,l);if(a){f=n.apply(i,t);i=t=null}return f};a.clear=function(){if(e){clearTimeout(e);e=null}};a.flush=function(){if(e){f=n.apply(i,t);i=t=null;clearTimeout(e);e=null}};return a}return{export:{debounce:u}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/default-danmaku-settings.min.css"] = `.bilibili-player-video-danmaku-setting-wrap{display:none!important}`; @@ -1458,7 +1457,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const r="showCoverBeforePlayStyle";const t=()=>{Observer.videoChange(async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(r);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const t=await SpinQuery.select("video");if(!t){console.warn("[播放前显示封面] 未找到视频");return}const{VideoInfo:i}=await o.importAsync("video-info");const l=new i(e);await l.fetchInfo();document.body.style.setProperty("--cover-url",`url('${l.coverUrl}')`);t.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})})};t();return{reload:()=>o.applyStyle(r),unload:()=>o.removeStyle(r)}}})(); +offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/bilibili-evolved.preview.user.js b/bilibili-evolved.preview.user.js index 779467f06..71f380224 100644 --- a/bilibili-evolved.preview.user.js +++ b/bilibili-evolved.preview.user.js @@ -1308,7 +1308,7 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/m @namespace Bilibili-Evolved @homepageURL https://github.com/the1812/Bilibili-Evolved @updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/min/dark.user.css -@version 709.15.0 +@version 709.78.0 @license MIT @author Grant Howard (https://github.com/the1812), Coulomb-G (https://github.com/Coulomb-G) ==/UserStyle== */ @@ -1320,7 +1320,6 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/m onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/dark-important.min.css"] = `#disable-popup-modal .vip-exchange .months button.disabled,#vip-exchange-modal .vip-exchange .months button.disabled,.action-row .publish-btn.disabled,.action-row .publish-btn.publishing,.action-row .sch-pub-btn.disabled,.action-row .sch-pub-btn.publishing,.app-body .section-block,.bl-button--primary:disabled,.home-content .publish-btn.disabled,.link-footer,.payment-active,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-indicator,.tab-list .tab-item.active:before{background-color:#222!important}.app-body .section-block.with-bottom-radius,.app-body .section-block.with-radius,.bb-comment .no-login .comment-submit,.common .bb-comment .no-login .comment-submit,.container .pagination,.coupon-content-con .coupon-btn-disable,.customize-wrp .select,.f-list-hover:hover,.fjw-case-detail .ban-detail .content-box .video-model,.game-groom-m .num,.main-container .media-info .media-right .media-tool-bar .btn-follow.active,.main-container .pay-bar .vip .btn-pay.active,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.pagination-container li.pagination,.status_box .status_btn.disabled,.wrapper .elec-btn.disabled{background-color:#444!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-indicator{background-color:#555!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-vertical-scrollbar.mousedown,.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap:hover .bscroll-vertical-scrollbar,.m-recommend-item div.box,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar.mousedown,.player-auxiliary-area .player-auxiliary-bscrollbar:hover .bscroll-vertical-scrollbar{background-color:transparent!important}.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.status_box .status_btn.disabled,blockquote,blockquote *,blockquote .color-blue-01,blockquote .color-blue-02,blockquote .color-blue-03,blockquote .color-blue-04,blockquote .color-gray-01,blockquote .color-gray-02,blockquote .color-gray-03,blockquote .color-gray-04,blockquote .color-green-01,blockquote .color-green-02,blockquote .color-green-03,blockquote .color-green-04,blockquote .color-lblue-01,blockquote .color-lblue-02,blockquote .color-lblue-03,blockquote .color-lblue-04,blockquote .color-pink-01,blockquote .color-pink-02,blockquote .color-pink-03,blockquote .color-pink-04,blockquote .color-purple-01,blockquote .color-purple-02,blockquote .color-purple-03,blockquote .color-purple-04,blockquote .color-yellow-01,blockquote .color-yellow-02,blockquote .color-yellow-03,blockquote .color-yellow-04{color:#aaa!important}#app .sticky-bar .bar-content .message,.bb-comment .no-login .comment-submit,.bp-popup-panel .title-ctnr .popup-title,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.coupon-content-con .coupon-btn-disable,.cover .disabled-cover,.customize-wrp .select,.el-input__inner,.home-page .sticky-bar .bar-content .message,.invitation-record-warp .invtable .inputdone,.live-room-app .guard-rank-cntr .tabs.isHundred .item.active,.live-room-app .guard-rank-cntr.hundred .live-skin-highlight-text,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text,.live-room-app .guard-rank-cntr.hundred .page-box .live-skin-main-text,.live-room-app .guard-rank-cntr.thousand .live-skin-highlight-text,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text,.live-room-app .guard-rank-cntr.thousand .page-box .live-skin-main-text,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.popup-content-ctnr .bl-button--ghost,.s-paging>ul>a.current,.s-paging>ul>span.current,.score-info .go-movie,.tag-list li.tag-item.on{color:#eee!important}#rank-list-vm .tabs.isHundred .item,.bb-comment .no-login .comment-submit,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.el-input__inner,.enter-failure .password-input .pink-border,.link-footer,.popup-content-ctnr .bl-button--ghost:hover,.score-info .go-movie,.select-box-v2-container .select-box-v2-controller-disabled,.song-info .info-wrap .type-list .item-list .type-item.active,.tabs-bar,.ui-input-textarea.focus,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent!important}#app .sticky-bar .bar-content .message:hover,.app-layout .style-section .tag-block .tag-containers .style-tag.selected,.container .video-panel .play-all .bilifont,.detail-wrp .detail-content[data-v-00c9b213] p a span,.drop-list-v2-container .drop-list-v2-item-selected .drop-list-v2-item-cont p.item-cont-main,.edit-button:hover>.icon-font,.edit-button:hover>span .left-nav-item-childed:hover,.el-select-dropdown__item.selected,.home-page .sticky-bar .bar-content .message:hover,.im-popup .bp-popup-panel .title-ctnr .popup-title,.left-nav-wrapper .active,.left-nav-wrapper .active .left-nav-item-child,.left-nav-wrapper .advice-btn:hover,.left-nav-wrapper .left-nav-item.active,.left-nav-wrapper .left-nav-item.active i.active,.left-nav-wrapper .left-nav-list.on .left-nav-item,.left-nav-wrapper .left-nav-list.on .left-nav-item .icon,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text:hover,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text:hover,.live-skin-normal-a-text:active,.manga-detail .episode-list-component .episode-list .list-header .header-item.selected,.more-data a:hover,.other a a:hover,.r-con .members-info .up-card .info-name.is-vip:hover,.rank-item .content .info .detail a a:hover,.rank-item .content .info:hover .title,.rank-item .content .more-data:hover,.rank-item .content .other a:hover,.room-info-down-row .icon-label.hover-text-blue:hover .label,.room-introduction .edit-button:hover>.icon-font,.room-introduction .edit-button:hover>span,.round-corner .van-popper-favorite .play-all .bilifont,.up-info .u-info .name .username.is-vip:hover,.voucher-ing .voucher-left-money,.voucher-ing .voucher-left-money:before,.voucher-no-used .voucher-left-money,.voucher-no-used .voucher-left-money:before{color:var(--theme-color)!important}.aside-ctnr .author-info .communicate-btn,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.page-list-box .page-input:focus,.page-list-box .page-input:hover,.popup-content-ctnr .bl-button--ghost,.season-timeline .season-group.today,.season-timeline .season-group.today .group-time::before,.tag-list li.tag-item.on,.tag-list li.tag-item:hover{border-color:var(--theme-color)!important}.bg-blue,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.popup-content-ctnr .bl-button--primary,.season-timeline .season-group.today.is-published .group-time::before,.security-list .child-list li a.bg-blue:hover,.song-info .info-wrap .type-list .item-list .type-item.active,.tag-list li.tag-item.on,.user-my-btn .el-button--primary,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{background-color:var(--theme-color)!important}.current .tab-btn-link,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.style-section .tag-block .tag-containers .style-tag:active{color:var(--foreground-color)!important}#bilibiliPlayer{box-shadow:0 4px 8px 0 #0004;background-color:#222!important}.live-skin-coloration-area .live-skin-separate-area,.live-skin-coloration-area .live-skin-separate-area-hover:hover{background-color:#222!important}.live-skin-coloration-area .live-skin-normal-a-text,.live-skin-coloration-area .live-skin-normal-a-text:link,.live-skin-coloration-area .live-skin-normal-a-text:visited,.live-skin-coloration-area .live-skin-normal-text{color:#aaa!important}.live-skin-coloration-area .live-skin-highlight-text,.live-skin-coloration-area .live-skin-main-text{color:#eee!important}.live-skin-coloration-area .live-skin-highlight-border,.live-skin-coloration-area .live-skin-separate-border{border-color:transparent!important}.live-skin-coloration-area .live-skin-normal-a-text:hover{color:var(--theme-color)!important}.live-skin-coloration-area .room-info-ctnr .info-section .live-skin-highlight-border{border-color:var(--theme-color)!important}.live-skin-coloration-area .live-skin-highlight-bg{background-color:var(--theme-color)!important}::-webkit-scrollbar{width:5px!important;height:5px!important}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:0 0!important}::-webkit-resizer,::-webkit-scrollbar-thumb{background:#444!important;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#555!important}*{scrollbar-color:#444 transparent!important;scrollbar-width:thin!important}`; onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/dark-navbar.min.css"] = `#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item:hover,.link-navbar .nav-item:hover,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar,.shortcuts-ctnr .shortcut-item:hover,.uns_box ul.menu li:not(.b-post):hover,.z_top .z_top_nav ul li:hover{background-color:#222!important}#app>.link-navbar,#app>.nav-header-wrapper,#link-navbar-vm>.link-navbar,#navbar-vm>.link-navbar,.b-header-mask-wrp .b-header-mask,.bili-header-m .nav-menu .nav-mask,.bili-header-m .nav-menu.blur-black .nav-mask,.link-navbar{background-color:#333!important}.z_top .i-link:hover,.z_top .z_top_nav ul li.home:hover{background-color:transparent!important}#app>.nav-header-wrapper>.nav-header{background:0 0!important}#app>.link-navbar .main-ctnr .nav-logo,#app>.link-navbar .nav-item.selected .label,#app>.link-navbar .nav-item:hover .icon-font,#app>.nav-header-wrapper>.nav-header .nav-header-mainsite,#app>.nav-header-wrapper>.nav-header .order-center,#link-navbar-vm>.link-navbar .main-ctnr .nav-logo,#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item .t,.link-navbar .main-ctnr .custom-link>a,.link-navbar .main-ctnr .nav-logo,.my-link-btn .label,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar input,.shortcut-item .list-item span,.shortcuts-ctnr .shortcut-item,.uns_box li.u-i a.i-link,.z_top a,.z_top.b-header-blur .uns_box li.u-i a.i-link,.z_top.b-header-blur .z_top_nav li a.i-link{color:#eee!important}.search-bar-ctnr .search-bar .placeholder,.search-bar-ctnr .search-bar .search-btn,.search-bar-ctnr .search-bar input::placeholder{color:#878787!important}.uns_box li.u-i:hover a.i-link,.z_top .i-link:hover{color:var(--theme-color)}.link-navbar,.link-navbar-ctnr{box-shadow:none!important}.link-navbar .main-ctnr .nav-logo::before,.nav-header-wrapper .nav-header .order-icon{filter:brightness(0) invert(1)!important}.search-bar-ctnr .search-bar{border-color:transparent!important;box-shadow:0 2px 10px 1px #0002}`; onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/dark-schedule.min.js"] = (()=>{return(e,t)=>{class i{constructor(...e){if(e.length===0){const e=new Date;this.hour=e.getHours();this.minute=e.getMinutes()}else if(e.length===1){const[t]=e;[this.hour,this.minute]=t.split(":").slice(0,2).map(e=>this.validatePart(e));this.normalize()}else if(v.length===2){[this.hour,this.minute]=e}}validatePart(e){const t=parseInt(e);if(!isNaN(t)&&t>=0&&t<=59){return t}else{return null}}normalize(){while(this.minute<0){this.minute+=60;this.hour-=1}while(this.minute>=60){this.minute-=60;this.hour+=1}while(this.hour<0){this.hour+=24}while(this.hour>=24){this.hour-=24}}lessThan(e){if(this.houre.hour||this.hour===e.hour&&this.minute>e.minute){return true}return false}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t)){return false}let i=this.greaterThan(e)&&this.lessThan(t);if(e.greaterThan(t)){i=this.greaterThan(e)||this.lessThan(t)}const s=i||this.equals(e);return s}static millisecondsBefore(e){const t=new i;const s=(new Date).getSeconds();const r=1e3*(t.hour*3600+t.minute*60+s);const n=1e3*(e.hour*3600+e.minute*60);let h=n-r;if(t.greaterThan(e)||t.equals(e)&&s!==0){h+=24*3600*1e3}return h}}function s(){if(e.darkSchedule){const t=new i(e.darkScheduleStart);const r=new i(e.darkScheduleEnd);const n=new i;const h=n.isInRange(t,r);if(e.useDarkStyle!==h){e.useDarkStyle=h}let u=0;if(h){u=i.millisecondsBefore(r)}else{u=i.millisecondsBefore(t)}if(u!==0){setTimeout(()=>s(),u)}}}fullyLoaded(()=>s());return{export:{ScheduleTime:i}}}})(); -onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/dark-slice-12.min.css"] = `.new-topic-panel{background-color:#444!important}.new-topic-panel .tag-item .label{background-color:#333!important;color:#eee!important}.new-topic-panel .more-button .more:hover{color:var(--theme-color)!important}.new-topic-panel .more-button .more:hover::after{border-color:var(--theme-color)!important}.bypb-window .online{background-color:#444!important;border-color:transparent!important}.bypb-window .online a{color:#eee!important}.bypb-window .online a:hover{color:var(--theme-color)!important}.bilibili-search-history .history-item:hover{background-color:#222!important}.bilibili-search-history .cancel-icon:hover{color:var(--theme-color)!important}.v-wrap .r-con .notice{background-color:#444!important}.video-container .text-area .subtitle{color:#aaa!important}.image-upload-btn:hover{filter:var(--blue-image-filter)!important}.msg-notify{background-color:#222!important}.msg-notify hr{background-color:#444!important}.msg-notify .context-menu{background-color:#444!important;color:#eee!important}.msg-notify .link i{filter:var(--blue-image-filter)!important}.popup-bg-cntr .popup-cntr{background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part{background-color:#222!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-name{color:#eee!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-state{color:#aaa!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active{background-image:none!important;background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active .round-name .progress{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .activity-name,.popup-bg-cntr .popup-cntr .right-part .not-bingo,.popup-bg-cntr .popup-cntr .right-part .not-join{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list{background-color:#555!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .bingo-group-item-cntr .bingo-group-item .title{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item .desc{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item img{border-color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .right-top-corner .rule{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr{background-color:#222!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr .title{color:#eee!important}.draw-fold-cntr .sender-info{background-color:#222!important;color:#eee!important;box-shadow:0 0 0 1px var(--theme-color)!important}.draw-fold-cntr .sender-info .name{color:#eee!important}.draw-fold-cntr .sender-info .words{color:#aaa!important}.article-holder .bangumi-card a .cover{border-color:#444!important}.user-panel .number-part .numbers{color:#eee!important}.user-panel .number-part:hover .numbers{color:var(--theme-color)!important}.main-container .ep-list-wrapper .list-title .ep-list-order,.main-container .ep-list-wrapper .list-title .ep-list-order:hover,.main-container .ep-list-wrapper .list-title .mode-change i,.main-container .ep-list-wrapper .list-title .mode-change i:hover{filter:var(--blue-image-filter)!important}.gift-item.buy.hover,.gift-item.buy:hover{background-color:#222!important}.cntr .user-protocol{border-color:#444!important}.cntr .silver-seed-store{background-color:#444!important}.cntr .silver-seed-store .content,.collection-bg .collection-board{background-color:#222!important}.collection-bg .collection-board .collection-submit{background-color:#444!important;color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-attr{color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-name,.collection-bg .collection-board .collection-list .collection-li .collection-song-number{color:#eee!important}.collection-bg .collection-board .collection-submit.active{background-color:var(--theme-color)!important;color:#eee!important}.collection-bg .collection-board .collection-theme{color:#eee!important}.collection-bg .collection-board .collection-list{border-color:#444!important}.collection-bg .collection-board .collection-list .collection-li .collection-checkbox .collection-checked,.collection-bg .collection-board .collection-list .collection-li:hover .collection-checkbox,.collection-bg .collection-board .collection-list .collection-li:hover .collection-name{color:var(--theme-color)!important}.channel-menu-mini .box a:hover{background-color:#444!important}.game-item .info .grade-wrap{color:#aaa!important}.game-item .info .grade-wrap .other-grades{background-color:#444!important;border-color:transparent!important}.game-item .info .grade-wrap .other-grades .grade-li{color:#aaa!important}.classroom-wrapper .content .block-list-item-title,.classroom-wrapper .content .block-page-progress,.classroom-wrapper .content .block-title,.classroom-wrapper .nav-wrapper,.classroom-wrapper .nav-wrapper .rec-title{color:#eee!important}.classroom-wrapper .content .block-list .slider-contro .slider-next,.classroom-wrapper .content .block-list .slider-contro .slider-prev{filter:brightness(0) invert(1)!important}.classroom-wrapper .content .block-list .slider-contro .slider-next:hover,.classroom-wrapper .content .block-list .slider-contro .slider-prev:hover{filter:var(--white-image-filter)!important;background-color:#444!important}.classroom-wrapper .rank-title{color:#eee!important}.s_tag .tag-area .channel-icon{filter:brightness(0) invert(1)!important}.s_tag .tag-area .channel-name{color:#eee!important}.s_tag .tag-area .tag-channel-pane{background-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-cover{border-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-title{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-desc{color:#aaa!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link{color:var(--theme-color)!important;border-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link:hover{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .is-subs{background-color:#222!important;color:#eee!important;border-color:transparent!important}.s_tag .tag-area .tag-channel-pane .channel-btns .no-subs{color:var(--foreground-color)!important;border-color:var(--theme-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup{background-color:#444!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup p{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-ok{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-no{color:#eee!important;background-color:#222!important}.share-board .song-share .font-blue{color:var(--theme-color)!important}.guard-store-box .buy-detail{color:#eee!important}.guard-store-box .buy-detail .master{color:var(--theme-color)!important}.guard-store-box .select-month{color:#eee!important}.guard-store-box .select-month .month-selector .month-info{color:#eee!important;border-color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .month-list{background-color:#444!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item{color:#eee!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item:hover .days{color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .triangle:before{border-color:#444 transparent transparent!important}.guard-store-box .expired-date{color:#aaa!important}.crowdfunding-container .current-num-wrap .current-num,.guard-store-box .btn-box .total-price{color:#eee!important}.crowdfunding-container .current-num-wrap .join-status{color:#aaa!important}.crowdfunding-container .tips-container .status{color:var(--theme-color)!important}.crowdfunding-container .tips-container .status.fail{color:#aaa!important}.crowdfunding-container .tips-container .status.nostart{color:#eee!important}.crowdfunding-container .progress-container{background-color:#222!important}.crowdfunding-container .progress-container .progress-fill.highlight{background-color:var(--theme-color)!important}.crowdfunding-container .current-pro-num.highlight{color:var(--theme-color)!important}.crowdfunding-container .goal-container{color:#aaa!important}.crowdfunding-container .goal-container .goal-num,.crowdfunding-container .goal-container .goal-time{color:#eee!important}.crowdfunding-container .risk-tip-container .risk-content{background-color:#222!important}.ticket-tips-wrapper .merchant-section{background-color:#444!important}.ticket-tips-wrapper .merchant-section .merchant-header{color:#eee!important}.ticket-tips-wrapper .merchant-section .merchant-header span{filter:var(--pink-image-filter)!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title{background-color:#333!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .close,.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .open{filter:var(--pink-image-filter)!important}.searchresult-total-number .left-line{background-image:linear-gradient(90deg,#444,#aaa)!important}.searchresult-total-number .right-line{background-image:linear-gradient(90deg,#aaa,#444)!important}.searchresult-total-number .total-num{color:#aaa!important}.h #h-sign:focus{background-color:#444!important;color:#eee!important;box-shadow:inset 0 2px 4px #0008!important}.action-button:hover .border,.action-button>.action-icon.active .border{fill:var(--theme-color)!important}.history-list .r-info .w-info .device{color:#aaa!important}.history-list .r-info .w-info .name{border-color:#444!important}`; onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/dark-styles.min.js"] = (()=>{return(e,t)=>{const r=()=>{SpinQuery.select(".custom-scrollbar").then(e=>e&&e.classList.remove("custom-scrollbar"))};const l=()=>{document.body.classList.remove("dark");t.removeStyle("darkStyleNavBar");t.removeStyle("darkStyle");t.removeStyle("darkStyleImportant")};const o=["//member.bilibili.com/v2","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects"];const a=()=>{if(e.noDarkOnMember&&o.some(e=>{if(typeof e==="string"){return document.URL.replace(location.search,"").includes(e)}else{return e.test(document.URL.replace(location.search,""))}})){l();return}document.body.classList.add("dark");r();if(!e.useDarkStyleAsUserStyle){t.applyImportantStyle("darkStyleNavBar");t.applyStyle("darkStyle");t.applyImportantStyle("darkStyleImportant")}};a();addSettingsListener("useDarkStyleAsUserStyle",()=>{l();a()});return{reload:a,unload:l}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/debounce.min.js"] = (()=>{return(n,l)=>{function u(n,l,u){var e,t,i,r,f;if(null==l)l=100;function o(){var a=Date.now()-r;if(a=0){e=setTimeout(o,l-a)}else{e=null;if(!u){f=n.apply(i,t);i=t=null}}}var a=function(){i=this;t=arguments;r=Date.now();var a=u&&!e;if(!e)e=setTimeout(o,l);if(a){f=n.apply(i,t);i=t=null}return f};a.clear=function(){if(e){clearTimeout(e);e=null}};a.flush=function(){if(e){f=n.apply(i,t);i=t=null;clearTimeout(e);e=null}};return a}return{export:{debounce:u}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/default-danmaku-settings.min.css"] = `.bilibili-player-video-danmaku-setting-wrap{display:none!important}`; @@ -1457,7 +1456,7 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/m onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const r="showCoverBeforePlayStyle";const t=()=>{Observer.videoChange(async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(r);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const t=await SpinQuery.select("video");if(!t){console.warn("[播放前显示封面] 未找到视频");return}const{VideoInfo:i}=await o.importAsync("video-info");const l=new i(e);await l.fetchInfo();document.body.style.setProperty("--cover-url",`url('${l.coverUrl}')`);t.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})})};t();return{reload:()=>o.applyStyle(r),unload:()=>o.removeStyle(r)}}})(); +onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/bilibili-evolved.user.js b/bilibili-evolved.user.js index 341536af4..3d9987f70 100644 --- a/bilibili-evolved.user.js +++ b/bilibili-evolved.user.js @@ -1308,7 +1308,7 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/mi @namespace Bilibili-Evolved @homepageURL https://github.com/the1812/Bilibili-Evolved @updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/min/dark.user.css -@version 709.15.0 +@version 709.78.0 @license MIT @author Grant Howard (https://github.com/the1812), Coulomb-G (https://github.com/Coulomb-G) ==/UserStyle== */ @@ -1320,7 +1320,6 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/mi onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-important.min.css"] = `#disable-popup-modal .vip-exchange .months button.disabled,#vip-exchange-modal .vip-exchange .months button.disabled,.action-row .publish-btn.disabled,.action-row .publish-btn.publishing,.action-row .sch-pub-btn.disabled,.action-row .sch-pub-btn.publishing,.app-body .section-block,.bl-button--primary:disabled,.home-content .publish-btn.disabled,.link-footer,.payment-active,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-indicator,.tab-list .tab-item.active:before{background-color:#222!important}.app-body .section-block.with-bottom-radius,.app-body .section-block.with-radius,.bb-comment .no-login .comment-submit,.common .bb-comment .no-login .comment-submit,.container .pagination,.coupon-content-con .coupon-btn-disable,.customize-wrp .select,.f-list-hover:hover,.fjw-case-detail .ban-detail .content-box .video-model,.game-groom-m .num,.main-container .media-info .media-right .media-tool-bar .btn-follow.active,.main-container .pay-bar .vip .btn-pay.active,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.pagination-container li.pagination,.status_box .status_btn.disabled,.wrapper .elec-btn.disabled{background-color:#444!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-indicator{background-color:#555!important}.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap .bscroll-vertical-scrollbar.mousedown,.danmaku-wrap .player-auxiliary-area .player-auxiliary-danmaku-wrap:hover .bscroll-vertical-scrollbar,.m-recommend-item div.box,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar,.player-auxiliary-area .player-auxiliary-bscrollbar .bscroll-vertical-scrollbar.mousedown,.player-auxiliary-area .player-auxiliary-bscrollbar:hover .bscroll-vertical-scrollbar{background-color:transparent!important}.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled,.open-dialog-masker .open-dialog-content .open-footer .btn-normal.disabled:hover,.status_box .status_btn.disabled,blockquote,blockquote *,blockquote .color-blue-01,blockquote .color-blue-02,blockquote .color-blue-03,blockquote .color-blue-04,blockquote .color-gray-01,blockquote .color-gray-02,blockquote .color-gray-03,blockquote .color-gray-04,blockquote .color-green-01,blockquote .color-green-02,blockquote .color-green-03,blockquote .color-green-04,blockquote .color-lblue-01,blockquote .color-lblue-02,blockquote .color-lblue-03,blockquote .color-lblue-04,blockquote .color-pink-01,blockquote .color-pink-02,blockquote .color-pink-03,blockquote .color-pink-04,blockquote .color-purple-01,blockquote .color-purple-02,blockquote .color-purple-03,blockquote .color-purple-04,blockquote .color-yellow-01,blockquote .color-yellow-02,blockquote .color-yellow-03,blockquote .color-yellow-04{color:#aaa!important}#app .sticky-bar .bar-content .message,.bb-comment .no-login .comment-submit,.bp-popup-panel .title-ctnr .popup-title,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.coupon-content-con .coupon-btn-disable,.cover .disabled-cover,.customize-wrp .select,.el-input__inner,.home-page .sticky-bar .bar-content .message,.invitation-record-warp .invtable .inputdone,.live-room-app .guard-rank-cntr .tabs.isHundred .item.active,.live-room-app .guard-rank-cntr.hundred .live-skin-highlight-text,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text,.live-room-app .guard-rank-cntr.hundred .page-box .live-skin-main-text,.live-room-app .guard-rank-cntr.thousand .live-skin-highlight-text,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text,.live-room-app .guard-rank-cntr.thousand .page-box .live-skin-main-text,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.popup-content-ctnr .bl-button--ghost,.s-paging>ul>a.current,.s-paging>ul>span.current,.score-info .go-movie,.tag-list li.tag-item.on{color:#eee!important}#rank-list-vm .tabs.isHundred .item,.bb-comment .no-login .comment-submit,.commnent-screen-wrap .el-input__inner,.common .bb-comment .no-login .comment-submit,.el-input__inner,.enter-failure .password-input .pink-border,.link-footer,.popup-content-ctnr .bl-button--ghost:hover,.score-info .go-movie,.select-box-v2-container .select-box-v2-controller-disabled,.song-info .info-wrap .type-list .item-list .type-item.active,.tabs-bar,.ui-input-textarea.focus,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{border-color:transparent!important}#app .sticky-bar .bar-content .message:hover,.app-layout .style-section .tag-block .tag-containers .style-tag.selected,.container .video-panel .play-all .bilifont,.detail-wrp .detail-content[data-v-00c9b213] p a span,.drop-list-v2-container .drop-list-v2-item-selected .drop-list-v2-item-cont p.item-cont-main,.edit-button:hover>.icon-font,.edit-button:hover>span .left-nav-item-childed:hover,.el-select-dropdown__item.selected,.home-page .sticky-bar .bar-content .message:hover,.im-popup .bp-popup-panel .title-ctnr .popup-title,.left-nav-wrapper .active,.left-nav-wrapper .active .left-nav-item-child,.left-nav-wrapper .advice-btn:hover,.left-nav-wrapper .left-nav-item.active,.left-nav-wrapper .left-nav-item.active i.active,.left-nav-wrapper .left-nav-list.on .left-nav-item,.left-nav-wrapper .left-nav-list.on .left-nav-item .icon,.live-room-app .guard-rank-cntr.hundred .live-skin-main-a-text:hover,.live-room-app .guard-rank-cntr.thousand .live-skin-main-a-text:hover,.live-skin-normal-a-text:active,.manga-detail .episode-list-component .episode-list .list-header .header-item.selected,.more-data a:hover,.other a a:hover,.r-con .members-info .up-card .info-name.is-vip:hover,.rank-item .content .info .detail a a:hover,.rank-item .content .info:hover .title,.rank-item .content .more-data:hover,.rank-item .content .other a:hover,.room-info-down-row .icon-label.hover-text-blue:hover .label,.room-introduction .edit-button:hover>.icon-font,.room-introduction .edit-button:hover>span,.round-corner .van-popper-favorite .play-all .bilifont,.up-info .u-info .name .username.is-vip:hover,.voucher-ing .voucher-left-money,.voucher-ing .voucher-left-money:before,.voucher-no-used .voucher-left-money,.voucher-no-used .voucher-left-money:before{color:var(--theme-color)!important}.aside-ctnr .author-info .communicate-btn,.manga-detail .episode-list-component .episode-list .list-data .list-item.last-read,.page-list-box .page-input:focus,.page-list-box .page-input:hover,.popup-content-ctnr .bl-button--ghost,.season-timeline .season-group.today,.season-timeline .season-group.today .group-time::before,.tag-list li.tag-item.on,.tag-list li.tag-item:hover{border-color:var(--theme-color)!important}.bg-blue,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-list#my-g-list .face-g-block .my-mp-block .mp-info .btn-white,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.popup-content-ctnr .bl-button--primary,.season-timeline .season-group.today.is-published .group-time::before,.security-list .child-list li a.bg-blue:hover,.song-info .info-wrap .type-list .item-list .type-item.active,.tag-list li.tag-item.on,.user-my-btn .el-button--primary,.user-setting-warp .el-radio-button__orig-radio:checked+.el-radio-button__inner{background-color:var(--theme-color)!important}.current .tab-btn-link,.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date,.face-g-tab li.current,.popup-content-ctnr .bl-button--ghost:hover,.style-section .tag-block .tag-containers .style-tag:active{color:var(--foreground-color)!important}#bilibiliPlayer{box-shadow:0 4px 8px 0 #0004;background-color:#222!important}.live-skin-coloration-area .live-skin-separate-area,.live-skin-coloration-area .live-skin-separate-area-hover:hover{background-color:#222!important}.live-skin-coloration-area .live-skin-normal-a-text,.live-skin-coloration-area .live-skin-normal-a-text:link,.live-skin-coloration-area .live-skin-normal-a-text:visited,.live-skin-coloration-area .live-skin-normal-text{color:#aaa!important}.live-skin-coloration-area .live-skin-highlight-text,.live-skin-coloration-area .live-skin-main-text{color:#eee!important}.live-skin-coloration-area .live-skin-highlight-border,.live-skin-coloration-area .live-skin-separate-border{border-color:transparent!important}.live-skin-coloration-area .live-skin-normal-a-text:hover{color:var(--theme-color)!important}.live-skin-coloration-area .room-info-ctnr .info-section .live-skin-highlight-border{border-color:var(--theme-color)!important}.live-skin-coloration-area .live-skin-highlight-bg{background-color:var(--theme-color)!important}::-webkit-scrollbar{width:5px!important;height:5px!important}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:0 0!important}::-webkit-resizer,::-webkit-scrollbar-thumb{background:#444!important;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#555!important}*{scrollbar-color:#444 transparent!important;scrollbar-width:thin!important}`; onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-navbar.min.css"] = `#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item:hover,.link-navbar .nav-item:hover,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar,.shortcuts-ctnr .shortcut-item:hover,.uns_box ul.menu li:not(.b-post):hover,.z_top .z_top_nav ul li:hover{background-color:#222!important}#app>.link-navbar,#app>.nav-header-wrapper,#link-navbar-vm>.link-navbar,#navbar-vm>.link-navbar,.b-header-mask-wrp .b-header-mask,.bili-header-m .nav-menu .nav-mask,.bili-header-m .nav-menu.blur-black .nav-mask,.link-navbar{background-color:#333!important}.z_top .i-link:hover,.z_top .z_top_nav ul li.home:hover{background-color:transparent!important}#app>.nav-header-wrapper>.nav-header{background:0 0!important}#app>.link-navbar .main-ctnr .nav-logo,#app>.link-navbar .nav-item.selected .label,#app>.link-navbar .nav-item:hover .icon-font,#app>.nav-header-wrapper>.nav-header .nav-header-mainsite,#app>.nav-header-wrapper>.nav-header .order-center,#link-navbar-vm>.link-navbar .main-ctnr .nav-logo,#link-navbar-vm>.link-navbar .nav-item:hover,.bili-header-m .nav-menu .nav-con .nav-item .t,.link-navbar .main-ctnr .custom-link>a,.link-navbar .main-ctnr .nav-logo,.my-link-btn .label,.nav-header-wrapper .nav-header .nav-header-search-bar,.right-part>.shortcuts-ctnr,.right-part>.shortcuts-ctnr .shortcut-item:hover,.search-bar-ctnr .search-bar input,.shortcut-item .list-item span,.shortcuts-ctnr .shortcut-item,.uns_box li.u-i a.i-link,.z_top a,.z_top.b-header-blur .uns_box li.u-i a.i-link,.z_top.b-header-blur .z_top_nav li a.i-link{color:#eee!important}.search-bar-ctnr .search-bar .placeholder,.search-bar-ctnr .search-bar .search-btn,.search-bar-ctnr .search-bar input::placeholder{color:#878787!important}.uns_box li.u-i:hover a.i-link,.z_top .i-link:hover{color:var(--theme-color)}.link-navbar,.link-navbar-ctnr{box-shadow:none!important}.link-navbar .main-ctnr .nav-logo::before,.nav-header-wrapper .nav-header .order-icon{filter:brightness(0) invert(1)!important}.search-bar-ctnr .search-bar{border-color:transparent!important;box-shadow:0 2px 10px 1px #0002}`; onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-schedule.min.js"] = (()=>{return(e,t)=>{class i{constructor(...e){if(e.length===0){const e=new Date;this.hour=e.getHours();this.minute=e.getMinutes()}else if(e.length===1){const[t]=e;[this.hour,this.minute]=t.split(":").slice(0,2).map(e=>this.validatePart(e));this.normalize()}else if(v.length===2){[this.hour,this.minute]=e}}validatePart(e){const t=parseInt(e);if(!isNaN(t)&&t>=0&&t<=59){return t}else{return null}}normalize(){while(this.minute<0){this.minute+=60;this.hour-=1}while(this.minute>=60){this.minute-=60;this.hour+=1}while(this.hour<0){this.hour+=24}while(this.hour>=24){this.hour-=24}}lessThan(e){if(this.houre.hour||this.hour===e.hour&&this.minute>e.minute){return true}return false}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t)){return false}let i=this.greaterThan(e)&&this.lessThan(t);if(e.greaterThan(t)){i=this.greaterThan(e)||this.lessThan(t)}const s=i||this.equals(e);return s}static millisecondsBefore(e){const t=new i;const s=(new Date).getSeconds();const r=1e3*(t.hour*3600+t.minute*60+s);const n=1e3*(e.hour*3600+e.minute*60);let h=n-r;if(t.greaterThan(e)||t.equals(e)&&s!==0){h+=24*3600*1e3}return h}}function s(){if(e.darkSchedule){const t=new i(e.darkScheduleStart);const r=new i(e.darkScheduleEnd);const n=new i;const h=n.isInRange(t,r);if(e.useDarkStyle!==h){e.useDarkStyle=h}let u=0;if(h){u=i.millisecondsBefore(r)}else{u=i.millisecondsBefore(t)}if(u!==0){setTimeout(()=>s(),u)}}}fullyLoaded(()=>s());return{export:{ScheduleTime:i}}}})(); -onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-slice-12.min.css"] = `.new-topic-panel{background-color:#444!important}.new-topic-panel .tag-item .label{background-color:#333!important;color:#eee!important}.new-topic-panel .more-button .more:hover{color:var(--theme-color)!important}.new-topic-panel .more-button .more:hover::after{border-color:var(--theme-color)!important}.bypb-window .online{background-color:#444!important;border-color:transparent!important}.bypb-window .online a{color:#eee!important}.bypb-window .online a:hover{color:var(--theme-color)!important}.bilibili-search-history .history-item:hover{background-color:#222!important}.bilibili-search-history .cancel-icon:hover{color:var(--theme-color)!important}.v-wrap .r-con .notice{background-color:#444!important}.video-container .text-area .subtitle{color:#aaa!important}.image-upload-btn:hover{filter:var(--blue-image-filter)!important}.msg-notify{background-color:#222!important}.msg-notify hr{background-color:#444!important}.msg-notify .context-menu{background-color:#444!important;color:#eee!important}.msg-notify .link i{filter:var(--blue-image-filter)!important}.popup-bg-cntr .popup-cntr{background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part{background-color:#222!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-name{color:#eee!important}.popup-bg-cntr .popup-cntr .left-part .round-item .round-state{color:#aaa!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active{background-image:none!important;background-color:#444!important}.popup-bg-cntr .popup-cntr .left-part .round-item.active .round-name .progress{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .activity-name,.popup-bg-cntr .popup-cntr .right-part .not-bingo,.popup-bg-cntr .popup-cntr .right-part .not-join{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list{background-color:#555!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .bingo-list .bingo-group-item-cntr .bingo-group-item .title{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .title{color:#eee!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item .desc{color:#aaa!important}.popup-bg-cntr .popup-cntr .right-part .award-list-cntr .award-list .award-item img{border-color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .right-top-corner .rule{color:var(--theme-color)!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr{background-color:#222!important}.popup-bg-cntr .popup-cntr .right-part .help-cntr .title{color:#eee!important}.draw-fold-cntr .sender-info{background-color:#222!important;color:#eee!important;box-shadow:0 0 0 1px var(--theme-color)!important}.draw-fold-cntr .sender-info .name{color:#eee!important}.draw-fold-cntr .sender-info .words{color:#aaa!important}.article-holder .bangumi-card a .cover{border-color:#444!important}.user-panel .number-part .numbers{color:#eee!important}.user-panel .number-part:hover .numbers{color:var(--theme-color)!important}.main-container .ep-list-wrapper .list-title .ep-list-order,.main-container .ep-list-wrapper .list-title .ep-list-order:hover,.main-container .ep-list-wrapper .list-title .mode-change i,.main-container .ep-list-wrapper .list-title .mode-change i:hover{filter:var(--blue-image-filter)!important}.gift-item.buy.hover,.gift-item.buy:hover{background-color:#222!important}.cntr .user-protocol{border-color:#444!important}.cntr .silver-seed-store{background-color:#444!important}.cntr .silver-seed-store .content,.collection-bg .collection-board{background-color:#222!important}.collection-bg .collection-board .collection-submit{background-color:#444!important;color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-attr{color:#aaa!important}.collection-bg .collection-board .collection-list .collection-li .collection-name,.collection-bg .collection-board .collection-list .collection-li .collection-song-number{color:#eee!important}.collection-bg .collection-board .collection-submit.active{background-color:var(--theme-color)!important;color:#eee!important}.collection-bg .collection-board .collection-theme{color:#eee!important}.collection-bg .collection-board .collection-list{border-color:#444!important}.collection-bg .collection-board .collection-list .collection-li .collection-checkbox .collection-checked,.collection-bg .collection-board .collection-list .collection-li:hover .collection-checkbox,.collection-bg .collection-board .collection-list .collection-li:hover .collection-name{color:var(--theme-color)!important}.channel-menu-mini .box a:hover{background-color:#444!important}.game-item .info .grade-wrap{color:#aaa!important}.game-item .info .grade-wrap .other-grades{background-color:#444!important;border-color:transparent!important}.game-item .info .grade-wrap .other-grades .grade-li{color:#aaa!important}.classroom-wrapper .content .block-list-item-title,.classroom-wrapper .content .block-page-progress,.classroom-wrapper .content .block-title,.classroom-wrapper .nav-wrapper,.classroom-wrapper .nav-wrapper .rec-title{color:#eee!important}.classroom-wrapper .content .block-list .slider-contro .slider-next,.classroom-wrapper .content .block-list .slider-contro .slider-prev{filter:brightness(0) invert(1)!important}.classroom-wrapper .content .block-list .slider-contro .slider-next:hover,.classroom-wrapper .content .block-list .slider-contro .slider-prev:hover{filter:var(--white-image-filter)!important;background-color:#444!important}.classroom-wrapper .rank-title{color:#eee!important}.s_tag .tag-area .channel-icon{filter:brightness(0) invert(1)!important}.s_tag .tag-area .channel-name{color:#eee!important}.s_tag .tag-area .tag-channel-pane{background-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-cover{border-color:#333!important}.s_tag .tag-area .tag-channel-pane .channel-title{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-desc{color:#aaa!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link{color:var(--theme-color)!important;border-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns__link:hover{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .is-subs{background-color:#222!important;color:#eee!important;border-color:transparent!important}.s_tag .tag-area .tag-channel-pane .channel-btns .no-subs{color:var(--foreground-color)!important;border-color:var(--theme-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup{background-color:#444!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup p{color:#eee!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-ok{color:var(--foreground-color)!important;background-color:var(--theme-color)!important}.s_tag .tag-area .tag-channel-pane .channel-btns .tag-channel-cancel-popup a.btn-no{color:#eee!important;background-color:#222!important}.share-board .song-share .font-blue{color:var(--theme-color)!important}.guard-store-box .buy-detail{color:#eee!important}.guard-store-box .buy-detail .master{color:var(--theme-color)!important}.guard-store-box .select-month{color:#eee!important}.guard-store-box .select-month .month-selector .month-info{color:#eee!important;border-color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .month-list{background-color:#444!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item{color:#eee!important}.guard-store-box .select-month .month-selector .month-info .month-list .month-item:hover .days{color:var(--theme-color)!important}.guard-store-box .select-month .month-selector .month-info .triangle:before{border-color:#444 transparent transparent!important}.guard-store-box .expired-date{color:#aaa!important}.crowdfunding-container .current-num-wrap .current-num,.guard-store-box .btn-box .total-price{color:#eee!important}.crowdfunding-container .current-num-wrap .join-status{color:#aaa!important}.crowdfunding-container .tips-container .status{color:var(--theme-color)!important}.crowdfunding-container .tips-container .status.fail{color:#aaa!important}.crowdfunding-container .tips-container .status.nostart{color:#eee!important}.crowdfunding-container .progress-container{background-color:#222!important}.crowdfunding-container .progress-container .progress-fill.highlight{background-color:var(--theme-color)!important}.crowdfunding-container .current-pro-num.highlight{color:var(--theme-color)!important}.crowdfunding-container .goal-container{color:#aaa!important}.crowdfunding-container .goal-container .goal-num,.crowdfunding-container .goal-container .goal-time{color:#eee!important}.crowdfunding-container .risk-tip-container .risk-content{background-color:#222!important}.ticket-tips-wrapper .merchant-section{background-color:#444!important}.ticket-tips-wrapper .merchant-section .merchant-header{color:#eee!important}.ticket-tips-wrapper .merchant-section .merchant-header span{filter:var(--pink-image-filter)!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title{background-color:#333!important}.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .close,.ticket-tips-wrapper .merchant-section .baseinfo-wrapper .content-item .title .fold-btn:hover .open{filter:var(--pink-image-filter)!important}.searchresult-total-number .left-line{background-image:linear-gradient(90deg,#444,#aaa)!important}.searchresult-total-number .right-line{background-image:linear-gradient(90deg,#aaa,#444)!important}.searchresult-total-number .total-num{color:#aaa!important}.h #h-sign:focus{background-color:#444!important;color:#eee!important;box-shadow:inset 0 2px 4px #0008!important}.action-button:hover .border,.action-button>.action-icon.active .border{fill:var(--theme-color)!important}.history-list .r-info .w-info .device{color:#aaa!important}.history-list .r-info .w-info .name{border-color:#444!important}`; onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/dark-styles.min.js"] = (()=>{return(e,t)=>{const r=()=>{SpinQuery.select(".custom-scrollbar").then(e=>e&&e.classList.remove("custom-scrollbar"))};const l=()=>{document.body.classList.remove("dark");t.removeStyle("darkStyleNavBar");t.removeStyle("darkStyle");t.removeStyle("darkStyleImportant")};const o=["//member.bilibili.com/v2","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects"];const a=()=>{if(e.noDarkOnMember&&o.some(e=>{if(typeof e==="string"){return document.URL.replace(location.search,"").includes(e)}else{return e.test(document.URL.replace(location.search,""))}})){l();return}document.body.classList.add("dark");r();if(!e.useDarkStyleAsUserStyle){t.applyImportantStyle("darkStyleNavBar");t.applyStyle("darkStyle");t.applyImportantStyle("darkStyleImportant")}};a();addSettingsListener("useDarkStyleAsUserStyle",()=>{l();a()});return{reload:a,unload:l}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/debounce.min.js"] = (()=>{return(n,l)=>{function u(n,l,u){var e,t,i,r,f;if(null==l)l=100;function o(){var a=Date.now()-r;if(a=0){e=setTimeout(o,l-a)}else{e=null;if(!u){f=n.apply(i,t);i=t=null}}}var a=function(){i=this;t=arguments;r=Date.now();var a=u&&!e;if(!e)e=setTimeout(o,l);if(a){f=n.apply(i,t);i=t=null}return f};a.clear=function(){if(e){clearTimeout(e);e=null}};a.flush=function(){if(e){f=n.apply(i,t);i=t=null;clearTimeout(e);e=null}};return a}return{export:{debounce:u}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/default-danmaku-settings.min.css"] = `.bilibili-player-video-danmaku-setting-wrap{display:none!important}`; @@ -1457,7 +1456,7 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/mi onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const r="showCoverBeforePlayStyle";const t=()=>{Observer.videoChange(async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(r);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const t=await SpinQuery.select("video");if(!t){console.warn("[播放前显示封面] 未找到视频");return}const{VideoInfo:i}=await o.importAsync("video-info");const l=new i(e);await l.fetchInfo();document.body.style.setProperty("--cover-url",`url('${l.coverUrl}')`);t.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})})};t();return{reload:()=>o.applyStyle(r),unload:()=>o.removeStyle(r)}}})(); +onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/min/bundle.json b/min/bundle.json index 08634ca3a..0d75fef28 100644 --- a/min/bundle.json +++ b/min/bundle.json @@ -58,12 +58,11 @@ "danmaku-send-bar.min.css": "52149D46CF3A15CF6EB186CB49F298DE18B0723E52D8693228F66099847EDCCB", "danmaku-send-bar.min.js": "7108E72F00C169F26E20409F4AA79F05553310375BABC392EB7E2166224B800A", "dark.min.css": "978F6C3E9E63568E38B4A9F2983FD580C96AD3D90CACFCCC24D7FB78D5132D98", - "dark.user.css": "3BA5282CBEC7233FB282D422C3F582B8E263BA774C6822BE55D3DFE9D540CDAB", + "dark.user.css": "CFDF7076051ABC5B0528E44220832FBBAC56F37DABEE5424E6FC6CA942D311B1", "dark-color-scheme.min.js": "6D353AC738180317ACF9D2E046BFFBA0ACC0FA7A8D22B8E16C51127CDE4FE96B", "dark-important.min.css": "5369385A2C16188FB11E71C4C5B91275646F22F0F09E518E37813CC4FA23A072", "dark-navbar.min.css": "7FAD547E326B768904B3739C978DF86FFDDD5E5064FB8F490710D197CCC3018B", "dark-schedule.min.js": "853C446547603F4F0425F19F09F73335C9EC451A790C1C07E5E5B88A09E9B453", - "dark-slice-12.min.css": "83BE1C9B41F71F26E11A66DE9CDD6DF4B9115CBB69BD0EE0DB3C5C438AB8920D", "dark-styles.min.js": "0F1F90CB24296E7399B63198A95AC429BFF351D37A186072B4FB5135AD1F2CDF", "debounce.min.js": "54D33E1273C1F3FE19550BF1844339C3D54D6B01DF8A39C3162D95B93B079CFA", "default-danmaku-settings.min.css": "D9942B184FEDA7B08CFA0C34920E97D7A83B81762DCBF757642EBB60F95FF25D", @@ -200,7 +199,7 @@ "settings-tooltip.min.js": "E9ABA72B3C29CA850342109E57B055B193F3356DD59876B202E8E908AE6247C9", "settings-tooltip.zh-CN.min.js": "C237FB86DE05C28C1EB8A11EAE85D4F79D942937C6DD8BD2D4D900FCC99B930B", "show-cover-before-play.min.css": "E963B5E47F0FF5F283CE2C2621DF7AD13A97C619386F2807021E57544233B08F", - "show-cover-before-play.min.js": "C3671F3F2C9DA14EB63F63A8CE05E8A94631FD9D3ADC8981C67F407EB5C49FCC", + "show-cover-before-play.min.js": "3B3D23E3C44801C62D10EAA2CF57864B37DD6AE6939C40403F2A7DD0957D0F26", "show-dead-video-title.min.js": "8D591930421EBA43A1BDF50DC8B645C1BD1A17E109FB1CFBCD6B78E6C74E1D68", "simple-home.vue.min.js": "1F5CF46DEE65549A30C5F0790578EED0C6B3AD6C5F20D9B88CD745C4B7664ABB", "simple-home-bangumi-category.vue.min.js": "87DCA2C8295CAD66C9FA01D65437EC2F9DD5E7F4A565B4384ABAB1746A6787EE", diff --git a/min/bundle.zip b/min/bundle.zip index e04c4c4779bc744b17e5fbe0a50130ba2539c8e6..0ad86be8a0d78bcce3cbd98d6f117ccf0235a059 100644 GIT binary patch delta 2576 zcmY*b2~bq`8GpQof^zT0xyyU|2RU~IQ4Uv@-G${`ki@DJN395}Y&jO)6^X_(i_u6# zW9pB_YCtU-Ydl&5nc5c9Nv5TuQ#;lJ5|2q!W8Tg;|Mz|W@4nu? zbLg#r-(Bts*z61N@jk&9=$qu5>o?<{R zM9dw1!_=-IP!gyJ)C3xWXo47mSb{i$c!C51ErD*()SkHWfGj;YtQ0SN5|%M{w08Il z$&e>-Tps$ai(LU;7;lJr*gF#=(0oIzCBlO}N@;K8K;Yh|??>UkH$(^2UWFdEAiWw> zMnwr26(hr4D^jJ^#ekk|ykb2bj*7*R^~QR4 zyL0vY)y*4H(w3!}aK@{ML*1BY4>CDZ(>9n^KDGku^@I;Q@Ts1q%GtsI`goD#5_aA@S- zBU!{O{ZEBu$!ZP8vPfI$Qx$@<$%&?CDpX}t2%mCzJDck55HOlep)Co7ZU!Z*Cj@mf zSP6eM6h~*U!r+!LHRsCCZ^e*}#bQzp1ys<54Fzj|3Jz%Qtn%c#CvvQ*GwA7(LJ~{lNE=1KrAhFE1iaR zmvb!w9MmwgW)UL}VE!y}a_S-U%wn^rrX1FAP0m+a>e{d>lA4tUH4y*&Tod_1SDpP3 z5xLC7Px}atTr#p~1YNnTFlft74cF4(@(X^EODU@@)uOvqt44@}`Yt(-3@)Ardmb5_ zIUn2esC9Py48wWU5DQ;Jcs{EXzI;s!UB5O#o)Cj@Yr_PlL##*&F6Wa1!)83lXV#$V zty+$D8+M5-4)Y3_E@V|FQQU^*b*-)b2;U~EVA!Tb^GR(CE)>wTupJmLppNd?0o!b5 z4;tUA<=o8;m`M1c*-RJiI5a^qc-K0eUXMSRJ9NRD`w?KG`u=$Zx=ob(WhQ3eUvbGu zF|T&xihPcH5Icv8|4Ijz%%NF*>2Esh{#K{*57p2d(o^<#+?qqf({u$=A)WiLqP~#k zFZH?(N9C9CyE@#b8=+}j2cwyi@Fe)USEPMMdZ+urHHk#+5E0Gm~WxHzq%1U7Ao4&E?l>;LjFo0qOGhju;y?g z2W>vnVvUuuW<8RK%_E5#oUoGehyA#2rL2t{1GACxhbOVpM#g?UfDddeV`4*(*;u^r z?)^l3XJh4oUzLj-`V!R9C|V^3!4*U0i>#nty5bRE?4=`B=q@HrKd+Y0X#BgF=Kp>( z;!4Qef>StCLLQZ-un6%-UrPE~YM*a8`K9r+%vvFg{#HczXQCEycJh1h4=A-@-0`)D+jiywd!<;I%V{$l^kW)~tLbaeT}~x`RE<;RtTcGB zSK>U)t~T_^4ODSWdNCDAr;t^_3ixA}&{Vk`3Dk zOEopx$6L@@P2HQmO^>A~^%~r&rhE?VLP!ne@#Hbo)G%B4_s8^HJMC4sp`p&x=%21L zHKbB+jM2+%|}%b4jrC6ZFlcemysgJ2HLb9}sJ4Q~Pe}v8}29p2iiNt5Nfar%YYIIf4T GIqv_Yk0^Km delta 2885 zcmZWr33O9s7Jhv%ZPLpr5jBd)Dg6&g|=*kN((N78#Z>KIc<~Dgv|;C zPq2f6%5=)-Xc;J*MX_484h)K(5ocH|>N&%rBa5P-D9e#?3MpmoYncO{NzOg@{rBDf z{&)HAegB@%Rz&=9{mO_Xp@@(el0uqLWGE`64e3JBp_tIHP;5vaiVMYu5<-bP4CNy- z&&)Vc_Ko&r%B6HcP{||+LZzp%)*YzxR#dr1-IY`C_2pCq0zEZfM_x+D)_!A5Px%PL zE+(~9pJ=g8GZ4u{Mj{iDnaDzvL}VpOCbAKw5ZQ?wJ=ST?7uQHy@3nbzn;(KI&FVTHl;#Xf1zM2Yrb_7wN6ea0PL&TN#C#ZAt=0H5shf zGTj;9TDmj}Pc<3zhPpgo)qKU9QI(nNneXuil{$Q}O(}}2%c=0st7?3>v2Ia%W;v#x zH=0qfU74!MT$CHcZyqw3aQ{(9EZzzm<0Jg|YuKo?oZYUHtLN-?_R?L_zbMGL-?2X> zCjMWZ;p}4;?X4uE<03O6u8%py1rH*pkL8QCzk{!j<%<4C@m3!z5ibvNC%*id#Ubq) zb4Z(J8L;kNLkh-TXR+{;NWAtmUcSaAi@Uuzag9wBbLYTyoz@qEsJ+fITvW2MWtZ(r zb(A2eltR_M{mYqWK;|@q9Y35WgI`@IgT2q<1{u(_EH(&;d(>b-d6^rkY}pulJM^a> zg6AfiAdY?noi|yYSXqyAH`!QegI~sqCPQB@C$+uEv&6?VJ}e_+Bl#2-DGnKkf1PuqvIKuwP4tf2N0vVLGc{OJ;ggO~}+y z0*Z#4kbi^3$=Aq*l{(U_Ni(5KNA9gmH{ptoPY};#U`#ZhDEdZVNi;8vYtE)K{Pk7t zdE|h92sY=U)pXwtZ44hT_T7UAVkpp;e~T3=e|!fH5!Y?ZGYj5PV|+vXmpY6)bjN4@ zPo$>lNfL=KRASLE+SOizy~B8}Zoynqp^=2{R0_fv%N^RbzmSMPGd+TWe~2Vv|84|h zd6Cq%&x}`KHsMGt0cQ7pgk!1h*$0uY=l6@nhwzM^-xqWAE3;7Nomb^rkJDjh!yXcf{x|VO0%fZ8ZCDeDmv&)hA|+u$ zw;kh_+a1`ONJ)6D8|M?LjMlvvY2c$p-$B$Ec%D?=Yscf8?Y5zQ8SL?YRyz{zXw&as z!X*RMvuTyeEhv$Bwm2HtCv(cOOklURtBb<;rgaXX!BgvZdwtb)o*+CwQC3ooJz^v{gItO1{&EOJM?SLll*$z|51S7Vn_kgn*gfBfk9%E}N+-ds4~pr)F}c zwpo>omu7^Vc;E@A1=B3l3!9cXvF=G{5<0&pYili}*!(>9SqLugu0hyB@OgbR@{@SJ zcwh$>CsCe%Ie_<6-f#&0#HEVEPR!cqG$Y1Bb)97;AI(RcNPNTTz#1!+;Nqt^VC999 z`4~yxaaxh34&a@;oJRd^TzzuViGS>(Evh5x2OCS1xlP(DD_EP%Cu?HnC<2!R(^E_plg8r zwiER9!f{p0jy;LApFXg6`gr9_1^?Nu*zrLMh1L5leoUdT)r5^@Z|5bN zvso?yBTp)()sjnlYarXnlLPm{;ULA#Vi!ibTxKkHke%66u+u>kXKslLO{p&H&<4Ac zHnfx?&q?6DT%+<&VjC>k10%sT>BObXMHcn_cem@@L)CmK*c%4%R#LdB1 z>Uw4y9I2GWPB3)&skaxWQchAg;LTLRVCrUkmr6Z-d<(bfE7z=BM$J=#P&xVQ^HhPNNK-O`}=2=F~0G9ldq>9DPJa zr1NC4{YOknC%k`t1uf}3PxH+UCLm8HOnjS8czZpHqvIsGl9Iu*G|kamz`k#o6>HBh w9cnXpta=f{Ga1}Ayg7~wbf*h={l1*wf?(OyNV*0ILLdE03kBgFdMyb51>6U@IRF3v diff --git a/min/show-cover-before-play.min.js b/min/show-cover-before-play.min.js index 076cedd54..0cb11492e 100644 --- a/min/show-cover-before-play.min.js +++ b/min/show-cover-before-play.min.js @@ -1 +1 @@ -(()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const r="showCoverBeforePlayStyle";const t=()=>{Observer.videoChange(async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(r);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const t=await SpinQuery.select("video");if(!t){console.warn("[播放前显示封面] 未找到视频");return}const{VideoInfo:i}=await o.importAsync("video-info");const l=new i(e);await l.fetchInfo();document.body.style.setProperty("--cover-url",`url('${l.coverUrl}')`);t.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})})};t();return{reload:()=>o.applyStyle(r),unload:()=>o.removeStyle(r)}}})(); \ No newline at end of file +(()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); \ No newline at end of file diff --git a/src/video/show-cover-before-play/show-cover-before-play.ts b/src/video/show-cover-before-play/show-cover-before-play.ts index c38a15747..14bba2296 100644 --- a/src/video/show-cover-before-play/show-cover-before-play.ts +++ b/src/video/show-cover-before-play/show-cover-before-play.ts @@ -6,7 +6,7 @@ const url = { } const styleID = 'showCoverBeforePlayStyle' const entry = () => { - Observer.videoChange(async () => { + const showCover = async () => { if (url.include.every(it => !document.URL.includes(it))) { return } @@ -21,6 +21,9 @@ const entry = () => { console.warn('[播放前显示封面] 未找到视频') return } + if (!video.paused) { + return + } const { VideoInfo } = await import('../video-info') const info = new VideoInfo(aid) await info.fetchInfo() @@ -28,7 +31,9 @@ const entry = () => { video.addEventListener('play', () => { document.body.style.removeProperty('--cover-url') }, { once: true }) - }) + } + // Observer.videoChange(showCover) + showCover() } entry() export default { From a358fdfb6cab5b061c9b849a9d83aac509a703c7 Mon Sep 17 00:00:00 2001 From: the1812 Date: Fri, 26 Jun 2020 10:04:57 +0800 Subject: [PATCH 2/2] Skip show cover if aid not changed --- bilibili-evolved.offline.user.js | 2 +- bilibili-evolved.preview-offline.user.js | 2 +- bilibili-evolved.preview.user.js | 2 +- bilibili-evolved.user.js | 2 +- min/bundle.json | 2 +- min/bundle.zip | Bin 2304186 -> 2304213 bytes min/show-cover-before-play.min.js | 2 +- .../show-cover-before-play.ts | 5 +++++ 8 files changed, 11 insertions(+), 6 deletions(-) diff --git a/bilibili-evolved.offline.user.js b/bilibili-evolved.offline.user.js index a403c710a..6fa956a55 100644 --- a/bilibili-evolved.offline.user.js +++ b/bilibili-evolved.offline.user.js @@ -1457,7 +1457,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); +offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";let r;const i=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}if(e===r){return}r=e;const i=await SpinQuery.select("video");if(!i){console.warn("[播放前显示封面] 未找到视频");return}if(!i.paused){return}const{VideoInfo:l}=await o.importAsync("video-info");const c=new l(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);i.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};i();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/bilibili-evolved.preview-offline.user.js b/bilibili-evolved.preview-offline.user.js index e5579b112..c9ebbb482 100644 --- a/bilibili-evolved.preview-offline.user.js +++ b/bilibili-evolved.preview-offline.user.js @@ -1457,7 +1457,7 @@ offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/m offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); +offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";let r;const i=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}if(e===r){return}r=e;const i=await SpinQuery.select("video");if(!i){console.warn("[播放前显示封面] 未找到视频");return}if(!i.paused){return}const{VideoInfo:l}=await o.importAsync("video-info");const c=new l(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);i.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};i();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); offlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/bilibili-evolved.preview.user.js b/bilibili-evolved.preview.user.js index 71f380224..a28f0eb13 100644 --- a/bilibili-evolved.preview.user.js +++ b/bilibili-evolved.preview.user.js @@ -1456,7 +1456,7 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/m onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); +onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";let r;const i=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}if(e===r){return}r=e;const i=await SpinQuery.select("video");if(!i){console.warn("[播放前显示封面] 未找到视频");return}if(!i.paused){return}const{VideoInfo:l}=await o.importAsync("video-info");const c=new l(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);i.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};i();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/bilibili-evolved.user.js b/bilibili-evolved.user.js index 3d9987f70..4a18b69e5 100644 --- a/bilibili-evolved.user.js +++ b/bilibili-evolved.user.js @@ -1456,7 +1456,7 @@ onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/mi onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏全屏.`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于精细调整视频时间. 支持键盘快捷键Shift+/. (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb#rgb).`],["useNewStyle",`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:006:00表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面. 可以分别选择是否重定向顶栏和稍后再看页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索.`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl+Alt+C. (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift点击截图按钮", 键盘操作为"Ctrl+Shift+Alt+C".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕, 下载视频, 视频截图, 查看封面.\n可以使用的变量有:\n- title: 视频标题/直播间标题\n- ep: 选集标题\n- aid: AV号\n- cid: CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid: 直播间号\n- y/M/d: 年/月/日\n- h/m/s/ms: 时/分/秒/毫秒\n\n默认的格式是[title][ - ep], 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep], 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s], 能够得到类似xxxx AV23333 2019-05-29 19-59-44的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + s 快速收藏\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式.\n新增的变量:\n- n: 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`],[`preferAvUrl`,`当视频的链接是BV号时, 自动转换为AV号.`],[`elegantScrollbar`,`使用细的滚动条替代系统默认的滚动条. (对夜间模式无效)`],[`quickFavorite`,`启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.`],[`darkColorScheme`,`使夜间模式同步系统设置的亮/暗主题.`],[`disableFeedsDetails`,`禁止动态点击后跳转详情页, 方便选择其中的文字.`],[`danmakuSendBar`,`在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏.`],[`watchLaterRedirectNavbar`,`重定向顶栏稍后再看中的链接.`],[`watchLaterRedirectPage`,`重定向稍后再看页面中的链接.`],[`showCoverBeforePlay`,`在视频开始播放前, 在播放器中显示封面.`],[`customNavbarGlobalFixed`,`对于所有用到自定义顶栏的页面都固定顶栏, 使其不受滚动影响.`]]);return{export:{toolTips:e}}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.css"] = `.bilibili-player-video::after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;display:block;background:#000 var(--cover-url) center no-repeat;background-size:contain;pointer-events:none;z-index:10}`; -onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); +onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-cover-before-play.min.js"] = (()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";let r;const i=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}if(e===r){return}r=e;const i=await SpinQuery.select("video");if(!i){console.warn("[播放前显示封面] 未找到视频");return}if(!i.paused){return}const{VideoInfo:l}=await o.importAsync("video-info");const c=new l(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);i.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};i();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})(); onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=`
`;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})(); diff --git a/min/bundle.json b/min/bundle.json index 0d75fef28..30ae1752e 100644 --- a/min/bundle.json +++ b/min/bundle.json @@ -199,7 +199,7 @@ "settings-tooltip.min.js": "E9ABA72B3C29CA850342109E57B055B193F3356DD59876B202E8E908AE6247C9", "settings-tooltip.zh-CN.min.js": "C237FB86DE05C28C1EB8A11EAE85D4F79D942937C6DD8BD2D4D900FCC99B930B", "show-cover-before-play.min.css": "E963B5E47F0FF5F283CE2C2621DF7AD13A97C619386F2807021E57544233B08F", - "show-cover-before-play.min.js": "3B3D23E3C44801C62D10EAA2CF57864B37DD6AE6939C40403F2A7DD0957D0F26", + "show-cover-before-play.min.js": "900831DF046D2EA624FC643A2F79CA52CFC54BACC184CC8004EE270277B58950", "show-dead-video-title.min.js": "8D591930421EBA43A1BDF50DC8B645C1BD1A17E109FB1CFBCD6B78E6C74E1D68", "simple-home.vue.min.js": "1F5CF46DEE65549A30C5F0790578EED0C6B3AD6C5F20D9B88CD745C4B7664ABB", "simple-home-bangumi-category.vue.min.js": "87DCA2C8295CAD66C9FA01D65437EC2F9DD5E7F4A565B4384ABAB1746A6787EE", diff --git a/min/bundle.zip b/min/bundle.zip index 0ad86be8a0d78bcce3cbd98d6f117ccf0235a059..3f01dfb9a96eaf8454509338b93a3eeaf20e6866 100644 GIT binary patch delta 766 zcmZ8dTS!z<6rFSLpd5vgLm*dWq`O>7kDB12>fyT}p_;S|{-N92k;kuM5_OSpw5JX1V0ZtHHC zZvfM!OR`=Crg+Q!y?_pPq^tgRTFCt8q~i`;MrK_On;`AQkm z9;#KoRl)R7E`~g`g%u*5%m1`O>G+Z`-A@oTN=7}7ajIoK7~)i(T6s^mbcK6^endYT z4otq#9UClv-xFl$(wl}6oeFMTmZu_b{xRH5D0OOoT*vvi?!+&hN|el1Y&NKpok5#H z+f#1+&@JJP<}OSq0e6IHMU94D$$6bEi5(7qqv$wKHZqJyc= z#tln%;FP~3QY5?iP(<3s==2||G#Ka#Bf4tjAiiQ)vDruYYy`DF8D$O^eN$|xBvV`QwfNUOBTI2kV!q+L3sQzput(j}8*vUJN7nJPWfE4BMPIBeau zf3g1QTRpo#Rg?mpALe%=TRKj3g?JG8Bm6Zs>NE~(tvxCta4bs?Vs3=zqC3o;EQouHrc`QR ziZj``B}Q@=%RAY||Aix%3nSJmf;V zm%JvsjyW$m5&2uhVc4j!ddzyMlrsPEJ)(4Iy3WIv(i6#%JL`P70YZ&&kcwu+FJa9h%XxJfpi2zbPyz`6bM7 zztrO`%64olU_vK1uIrS|dNHn3H9HDbP^oEi6;*NwfrN7K4+qo2sDt~vxXr%1#!k{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";const r=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}const r=await SpinQuery.select("video");if(!r){console.warn("[播放前显示封面] 未找到视频");return}if(!r.paused){return}const{VideoInfo:i}=await o.importAsync("video-info");const c=new i(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);r.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};r();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); \ No newline at end of file +(()=>{return(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";let r;const i=()=>{const e=async()=>{if(n.include.every(e=>!document.URL.includes(e))){return}o.applyStyle(t);const e=await SpinQuery.select(()=>unsafeWindow.aid);if(!e){console.warn("[播放前显示封面] 未找到av号");return}if(e===r){return}r=e;const i=await SpinQuery.select("video");if(!i){console.warn("[播放前显示封面] 未找到视频");return}if(!i.paused){return}const{VideoInfo:l}=await o.importAsync("video-info");const c=new l(e);await c.fetchInfo();document.body.style.setProperty("--cover-url",`url('${c.coverUrl}')`);i.addEventListener("play",()=>{document.body.style.removeProperty("--cover-url")},{once:true})};e()};i();return{reload:()=>o.applyStyle(t),unload:()=>o.removeStyle(t)}}})(); \ No newline at end of file diff --git a/src/video/show-cover-before-play/show-cover-before-play.ts b/src/video/show-cover-before-play/show-cover-before-play.ts index 14bba2296..8f6a6b15a 100644 --- a/src/video/show-cover-before-play/show-cover-before-play.ts +++ b/src/video/show-cover-before-play/show-cover-before-play.ts @@ -5,6 +5,7 @@ const url = { ] } const styleID = 'showCoverBeforePlayStyle' +let lastAid: string const entry = () => { const showCover = async () => { if (url.include.every(it => !document.URL.includes(it))) { @@ -16,6 +17,10 @@ const entry = () => { console.warn('[播放前显示封面] 未找到av号') return } + if (aid === lastAid) { + return + } + lastAid = aid const video = await SpinQuery.select('video') as HTMLVideoElement if (!video) { console.warn('[播放前显示封面] 未找到视频')