Skip to content

2212.ytb by oeisus

Screenshot of 2212.ytb

Details

Authoroeisus

LicenseMIT

Categoryyoutube.com

Created

Updated

Size8.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

精简
屏蔽

2212

Notes

2212

Source code

/* ==UserStyle==
@name           2212.ytb
@namespace      github.com/openstyles/stylus
@version        2212
@description    2212
@author         orisms@outlook.com
==/UserStyle== */
@-moz-document url-prefix("https://www.youtube.com/watch?v=") {
/*vd.1*/
ytd-watch-flexy {
    --ytd-watch-flexy-sidebar-width: 470px;
}

/*zuo*/
/*bfq*/
.video-stream.html5-main-video {
    width: 100% !important;
    height: 100% !important;
    position: relative;
}

.ytp-left-controls > .ytp-time-display {
    pointer-events: none;
}

/*bt*/
yt-formatted-string#super-title.ytd-watch-metadata {
    font-size: 12px;
}

h1 yt-formatted-string.ytd-watch-metadata {
    font-size: 19px;
}

/*jj*/
#bottom-row.ytd-watch-metadata {
    pointer-events: none;
}

tp-yt-paper-button.button.ytd-text-inline-expander {
    pointer-events: auto;
}

yt-formatted-string.ytd-text-inline-expander > a {
    pointer-events: auto;
}

/*pl*/
h3 #author-text.yt-simple-endpoint.ytd-comment-renderer .ytd-comment-renderer {
    color: #f30;
}

yt-formatted-string#content-text.ytd-comment-renderer,
yt-formatted-string#content-text.ytd-comment-renderer > span.yt-formatted-string {
    font-size: 16px;
}

/*you*/
ytd-watch-flexy[flexy] #secondary.ytd-watch-flexy {
    padding-right: 0;
    width: 470px;
}

/*tag*/
/*kp*/
/*时长*/
ytd-thumbnail-overlay-time-status-renderer {
    color: #ff0 !important;
    background: #000 !important;
}

/*kp.右*/
#dismissible .details .metadata {
    padding-right: 0;
}

/*bt*/
#dismissible .details #video-title {
    font-family: "KaiTi";
    font-weight: 600;
    font-size: 15px;
}

#dismissible .details #video-title:hover {
    max-height: 16rem;
    -webkit-line-clamp: 8;
    background-color: #ff0;
}

/*最新*/
ytd-badge-supported-renderer.badges.ytd-compact-video-renderer .ytd-badge-supported-renderer {
    font-size: 10px;
    background: #0e0;
}

/***ads***/
#player-ads.ytd-watch-flexy {
    display: none !important;
}

/*
左:加入  pl.举报三点                 
右:kp付费电影 kp合辑右下废话 kp稍后观看 kp举报三点                  
bfq:右上反馈                      
*/
ytd-button-renderer.ytd-menu-renderer:has([aria-label="分享"]),
ytd-download-button-renderer.ytd-menu-renderer,
ytd-button-renderer.ytd-menu-renderer:has([aria-label="感谢"]),
ytd-button-renderer.ytd-menu-renderer:has([aria-label="剪辑"]) {
    display: none;
}

#action-menu.ytd-comment-renderer {
    display: none;
}

#menu.ytd-compact-video-renderer,
#menu.ytd-compact-playlist-renderer {
    display: none;
}

#sponsor-button.ytd-video-owner-renderer,
ytd-compact-movie-renderer.ytd-item-section-renderer,
ytd-compact-radio-renderer ytd-video-meta-block.ytd-compact-radio-renderer,
ytd-thumbnail-overlay-toggle-button-renderer,
.ytp-chrome-top > .ytp-chrome-top-buttons,
qqqq {
    display: none !important;
}
}

@-moz-document url-prefix("https://www.youtube.com/@"),
url-prefix("https://www.youtube.com/channel/"),
url-prefix("https://www.youtube.com/user/"),
url-prefix("https://www.youtube.com/c/") {
/***u***/
/***顶***/
/***kj***/
/***上***/
tp-yt-app-header#header.ytd-c4-tabbed-header-renderer {
    margin-top: 0;
    position: relative !important;
    left: 0 !important;
    transform: none !important;
}

#alert-banner.ytd-browse,
#masthead-ad.ytd-browse {
    display: none !important;
}

#background.tp-yt-app-header,
.banner-visible-area.yt-simple-endpoint.ytd-c4-tabbed-header-renderer,
.banner-visible-area.ytd-c4-tabbed-header-renderer {
    display: none;
}

#channel-header.ytd-c4-tabbed-header-renderer,
ytd-c4-tabbed-header-renderer[darker-dark-theme] #channel-container.ytd-c4-tabbed-header-renderer,
ytd-c4-tabbed-header-renderer[darker-dark-theme] #tabs-container.ytd-c4-tabbed-header-renderer,
#tabs-inner-container.ytd-c4-tabbed-header-renderer {
    background-color: #0000;
}

#contentContainer {
    padding-top: 0 !important;
}

/*友链*/
/***下***/
#header.ytd-rich-grid-renderer {
    display: none !important;
}

/***kp列表***/
/***主页***/
ytd-item-section-renderer.ytd-section-list-renderer:has([title="视频"]) {
    background: #ff0 !important;
}
}

@-moz-document url-prefix("https://www.youtube.com/feed/subscriptions") {
/***订阅***/
/*kj*/
#masthead-container.ytd-app {
    display: none !important;
}

#page-manager.ytd-app {
    margin-top: 0;
}
}

@-moz-document url("https://www.youtube.com/") {
/***首页***/
#chips-wrapper.ytd-feed-filter-chip-bar-renderer {
    position: absolute;
}

ytd-feed-filter-chip-bar-renderer[darker-dark-theme] #chips-wrapper.ytd-feed-filter-chip-bar-renderer {
    background-color: #ff00;
}
}

@-moz-document url-prefix("https://www.youtube.com/results?search_query=") {
/*ss*/
h3 yt-formatted-string.ytd-video-renderer {
    font-size: 17px;
}

ytd-channel-name .yt-simple-endpoint.yt-formatted-string {
    font-size: 17px;
}
}

@-moz-document url-prefix("https://www.youtube.com/channel/") {
ytd-carousel-item-renderer {
    display: none !important;
}
}

@-moz-document domain("youtube.com") {
/*all.kp*/
#dismissible #details #meta {
    padding-right: 0 !important;
}

#dismissible #details #menu {
    display: none !important;
}

#dismissible #details #meta #video-title {
    max-height: 16rem !important;
    font-family: "KaiTi";
    font-weight: 600;
    -webkit-line-clamp: 3 !important;
}

#dismissible #details #meta #video-title:hover {
    -webkit-line-clamp: 8 !important;
}

/*稍后 播放列表*/
#hover-overlays.ytd-thumbnail {
    display: none !important;
}

/*时长*/
#metadata-container.ytd-grid-video-renderer,
#metadata {
    opacity: 1;
}
}

@-moz-document domain("youtube.com") {
/*all.zt.0ding.0zuo.gdt*/
html {
    font-family: "KaiTi";
    font-weight: 600;
    font-size: 12px;
}

html:not(.style-scope) {
    --yt-spec-base-background:#f1f2f3;
    --yt-spec-general-background-a:#f0f;
    --ytd-searchbox-background:#00000007;
    --ytd-searchbox-legacy-button-color:#00000007;
}

/*
    --primary-background-color:#ef0 !important;
    --light-theme-background-color:#ef0 !important;

html[darker-dark-theme]
{
    background-color: #ff00 !important;
}

ytd-app[darker-dark-theme]
{
    background-color: #ff00;
}

ytd-masthead[darker-dark-theme]
{
    background-color: #ff00;
}

#contentContainer.tp-yt-app-drawer
{
    background-color: #ff00;
}

ytd-app[darker-dark-theme] #guide-content.ytd-app
{
    background-color: #ff00;
}

*/
/*all*/
.style-scope {
    font-family: "KaiTi";
    font-weight: 600;
    font-size: 12px;
}

div {
    font-family: "KaiTi";
    font-weight: 600;
    font-size: 12px;
}

span {
    font-family: "KaiTi";
    font-weight: 600;
    font-size: 12px;
}

yt-formatted-string {
    font-family: "KaiTi" !important;
    font-weight: 600 !important;
    font-size: 12px;
}

.yt-formatted-string {
    font-family: "KaiTi" !important;
    font-weight: 600 !important;
}

/*ding*/
#masthead-container.ytd-app {
    position: absolute;
}

input {
    font-family: "KaiTi" !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

ytd-multi-page-menu-renderer[darker-dark-theme] {
    background-color: #fff7;
}

ytd-simple-menu-header-renderer[darker-dark-theme] {
    background-color: #fff0;
}

yt-formatted-string.title.ytd-guide-entry-renderer {
    font-size: 15px;
}

/*----------------------*/
/*
div,
span,
li,
a,
b,
p,
button,
input,

.style-scope,
#video-title,
yt-formatted-string
*/
/***0顶***/
#voice-search-button.ytd-masthead,
ytd-topbar-menu-button-renderer.ytd-masthead:nth-of-type(1) {
    display: none !important;
}

ytd-topbar-logo-renderer#logo.ytd-masthead {
    pointer-events: none;
}

/*xf.订阅更新*/
#menu.ytd-notification-renderer {
    display: none !important;
}

.yt-simple-endpoint.ytd-notification-renderer {
    margin-right: 0 !important;
}

.thumbnail-container.ytd-notification-renderer {
    margin-right: 0px;
}

/***0左***/
tp-yt-app-drawer {
    position: absolute;
}

ytd-guide-collapsible-section-entry-renderer.ytd-guide-section-renderer,
ytd-guide-section-renderer.ytd-guide-renderer:nth-of-type(4),
ytd-guide-section-renderer.ytd-guide-renderer:nth-of-type(5),
#footer.ytd-guide-renderer,
yt-img-shadow.ytd-guide-entry-renderer {
    display: none;
}

yt-icon.guide-icon.ytd-guide-entry-renderer,
h3.ytd-guide-section-renderer {
    display: none;
}

yt-interaction.ytd-guide-entry-renderer {
    display: none;
}

ytd-guide-entry-renderer.ytd-guide-section-renderer {
    margin-right: 0;
    width: 100%;
}

ytd-guide-entry-renderer.ytd-guide-collapsible-entry-renderer {
    margin-right: 0;
    width: 100%;
}

tp-yt-app-drawer yt-formatted-string.ytd-guide-entry-renderer {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: clip;
    overflow: hidden;
}

/*all*/
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background: #f00;
}

::-webkit-scrollbar-track {
    background: #00f;
}
}

/*










*/

Reviews

No reviews yet.