Skip to content

Instantly share code, notes, and snippets.

@xjbeta
Last active June 18, 2019 03:50
Show Gist options
  • Save xjbeta/22f94fe330697b6a15a13aa055de79f9 to your computer and use it in GitHub Desktop.
Save xjbeta/22f94fe330697b6a15a13aa055de79f9 to your computer and use it in GitHub Desktop.
花Q PiliPili
// ==UserScript==
// @name OhMyBiliLive
// @version 0.1
// @description 花Q PiliPili
// @author xjbeta
// @match https://live.bilibili.com/*
// @grant GM_addStyle
// ==/UserScript==
GM_addStyle('div.room-info-ctnr>.room-info-upper-row a.info-section, div.room-info-ctnr>.room-info-upper-row .upper-right-ctnr div.pointer, div.room-info-ctnr>.room-info-down-row div.icon-label {display: none;}');
GM_addStyle('#rank-list-vm, #gift-control-vm {display: none;}');
GM_addStyle('.live-room-app .app-content .app-body .player-and-aside-area .aside-area .chat-history-panel {height: calc(100% - 145px);}');
GM_addStyle('#chat-history-list div.gift-item, #chat-history-list div.welcome-msg, #chat-history-list div.danmaku-item>div.fans-medal-item-ctnr, #chat-history-list div.danmaku-item>div.title-label, #chat-history-list div.danmaku-item i.vip-icon, #chat-history-list div.news, #chat-history-list div.small-tv, #penury-gift-msg {display: none;}');
GM_addStyle('div.bilibili-live-player-gfs-staple, div.bilibili-live-player-video-gift, div.bilibili-live-player-video-logo {display: none;}');
GM_addStyle('#my-dear-haruna-vm {display: none;}');
GM_addStyle('#sidebar-vm div.side-bar-cntr {height: auto !important;}');
GM_addStyle('#sidebar-vm div.side-bar-cntr>div[data-upgrade-intro=master-rank-btn], #sidebar-vm div.side-bar-cntr>div[data-upgrade-intro=union-btn], #sidebar-vm div.side-bar-cntr>div[data-upgrade-intro=gacha-btn] {display: none;}');
GM_addStyle('.hour-rank[data-v-efde6da4] {display: none;}');
GM_addStyle('.player-full-win .player-section {width:calc(100% - 302px)!important;height:calc(100%)!important;padding:0!important;left:0!important;border:none!important}');
GM_addStyle('.live-room-app .app-content .app-body .section-block .right-container {display: none;}');
GM_addStyle('.activity-pushing-out[data-v-6489bbb8] {display: none;}');
GM_addStyle('div.left-action {display: none;}');
GM_addStyle('div.chat-item.welcome-guard {display: none;}');
GM_addStyle('div.chat-popups-section.z-chat-popup-area {display: none;}');
GM_addStyle('div.chat-popups-icon-section.z-chat-popup-icon {display: none;}');
GM_addStyle('div.z-player-effect-vm {display: none;}');
GM_addStyle('.hour-rank[data-v-4b6d1eab] {display: none;}');
GM_addStyle('.activity-pushing-out[data-v-bbcdfe08] {display: none;}');
GM_addStyle('.chat-history-panel .chat-history-list .chat-item.system-msg {display: none;}');
GM_addStyle('.bilibili-live-player-video-operable-container {display: none;}');
GM_addStyle('#gift-animation-cntr > canvas {display: none;}');
GM_addStyle('#sidebar-vm > div > div.side-bar-cntr > div:nth-child(1) {display: none;}');
GM_addStyle('#js-player-decorator > div > div.bilibili-live-player-ending-panel > div > div.clearfix.bilibili-live-player-ending-panel-recommend {display: none;}');
GM_addStyle('#head-info-vm > div > div > div.room-info-upper-row.p-relative > div.normal-mode > div.dp-i-block.info-section.v-middle.week-star-rank.pointer {display: none;}');
GM_addStyle('#head-info-vm > div > div > div.room-info-upper-row.p-relative > div.normal-mode > div.dp-i-block.info-section.v-middle.hour-rank {display: none;}');
GM_addStyle('#aside-area-vm > div:nth-child(9) {display: none;}');
GM_addStyle('#head-info-vm > div > div > div.room-info-down-row > div.chaos-pk-banner.dp-i-block.p-relative.pointer {display: none;}');
GM_addStyle('#sidebar-vm > div > div.side-bar-cntr > div:nth-child(2) {display: none;}');
GM_addStyle('#sidebar-vm > div > div.side-bar-cntr > div:nth-child(3) {display: none;}');
// 侧边栏 有爱🔫
GM_addStyle('#sidebar-vm > div > div.side-bar-cntr > div:nth-child(4) {display: none;}');
// 侧边栏 扭蛋🐔
GM_addStyle('#sidebar-vm > div > div.side-bar-cntr > div:nth-child(5) {display: none;}');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment