YouTube without any distractions on your Home Screen!
@Original Author: Nam (504471)
*Changelog: Small fixes of some bugs.
Authorrichard-s16
LicenseNo License
CategoryYoutube Focus v1.2.0
Created
Updated
Size54 kB
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
YouTube without any distractions on your Home Screen!
@Original Author: Nam (504471)
*Changelog: Small fixes of some bugs.
/* ==UserStyle==
@name Youtube Focus
@namespace USO Archive
@author Nam
@description `<a></a>`
@version 20200413.13.59
@license CC-BY-NC-ND-4.0
@preprocessor uso
@advanced dropdown T "Fullsize Theater mode" {
A "Activate*" <<<EOT ytd-app[is-watch-page] ytd-watch[theater] #player,
ytd-app[is-watch-page] ytd-watch-flexy[theater] #player-theater-container
{max-height: 100vh !important;min-height: 100vh !important}
ytd-app[is-watch-page] #masthead-container{opacity:0!important;transition:opacity 0.2s ease-in-out}
ytd-app[is-watch-page] #masthead-container:hover{opacity:1!important}
ytd-app[is-watch-page] #page-manager{margin-top:0!important}
ytd-app[is-watch-page] #extra-buttons{display:none!important}
ytd-app[is-watch-page] #toast:not(.paper-toast-open){pointer-events:none} EOT;
D "Default" <<<EOT EOT;
}
@advanced dropdown rv "Related videos" {
h "hide*" <<<EOT #related,.ytp-videowall-still.ytp-suggestion-set, EOT;
s "show" <<<EOT EOT;
}
@advanced dropdown c "Comments" {
s "show*" <<<EOT EOT;
h "hide" <<<EOT ytd-comments, EOT;
}
@advanced dropdown lc "Live Chat" {
s "show*" <<<EOT EOT;
h "hide" <<<EOT ytd-live-chat-frame, EOT;
}
==/UserStyle== */
@-moz-document regexp("https://www.youtube.com/(|\\?(reload|pbjreload).*)") {
html:not([dark="true"]) ytd-app,
html:not([dark="true"]) ytd-mini-guide-renderer,
html:not([dark="true"]) ytd-mini-guide-entry-renderer {
background-color: white;
}
ytd-app,
ytd-mini-guide-renderer,
ytd-mini-guide-entry-renderer {
background-color: rgb(36, 36, 36)!important
}
ytd-app[is-watch-page] #masthead-container {
transition: unset!important;
opacity: 1!important
}
[dark] .gstl_50.sbdd_a * {
background-color: var(--yt-searchbox-background)!important
}
ytd-topbar-logo-renderer#logo {
position: fixed!important;
top: calc(50vh - 110px);
left: calc(50% - 150px);
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/YouTube_Logo_2017.svg/2000px-YouTube_Logo_2017.svg.png)!important;
width: 300px!important;
height: 67px!important;
background-size: 300px 67px!important
}
ytd-topbar-logo-renderer#logo *,
#guide-button,
#guide-spacer,
#country-code,
.ytd-mealbar-promo-renderer {
display: none!important
}
ytd-app {
background-color: var(--yt-live-chat-action-panel-background-color-transparent)!important
}
#guide-persistent-and-visible,
#home-page-skeleton,
#masthead-logo {
opacity: 0!important
}
#guide-content.ytd-app {
background: unset!important
}
app-drawer.ytd-app[persistent] {
z-index: 999999!important
}
#search-clear-button.ytd-searchbox {
width: auto;
}
#search-form #container {
position: fixed!important;
top: calc(50vh + 0px);
left: calc(50% - 280px)!important;
width: 584px!important;
height: 44px!important;
border-radius: 2px!important;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08)!important;
transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1)!important;
margin: 0;
padding: 0;
}
#search-form #container:hover {
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08)!important
}
ytd-searchbox[has-focus] #search-form #container {
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08)!important;
}
#container.ytd-searchbox {
margin-left: 0;
}
#voice-search-button.ytd-masthead {
display: none;
}
.sbsb_b {
max-height: 150px!important;
overflow-y: scroll
}
#container.ytd-searchbox > [slot=search-input] {
padding-left: 10px
}
.gstl_50.sbdd_a {
left: calc(50% - 292px)!important;
top: calc(50vh + 40px)!important
}
#search-icon-legacy {
visibility: hidden!important
}
ytd-searchbox[has-focus] #search-icon.ytd-searchbox {
display: none;
visibility: hidden;
}
#masthead-container.ytd-app::after {
box-shadow: none!important
}
app-drawer {
opacity: 0!important;
transition: opacity .3s ease-out!important;
}
app-drawer:hover {
opacity: 1!important
}
.skeleton-bg-color {
background-color: transparent!important
}
ytd-page-manager {
display: none!important
}
@media only screen and (max-width: 656px) {
#search-button {
display: none!important
}
#search-form:not(#a) #container {
width: calc(100% - 25px)!important;
left: 5px!important;
}
ytd-masthead[show-input] #guide-button.ytd-masthead,
ytd-masthead[show-input] #logo.ytd-masthead,
ytd-masthead[show-input] #end.ytd-masthead,
ytd-searchbox.ytd-masthead {
display: block!important
}
ytd-topbar-logo-renderer#logo {
background-size: 200px 45px!important;
width: 200px!important;
height: 45px!important;
top: calc(50vh - 75px)!important;
left: calc(50% - 100px)!important
}
.gstl_50.sbdd_a {
left: 5px!important;
width: calc(100% - 25px)!important
}
}
[dark] {
height: 100%!important;
background: rgb(35, 35, 35)!important
}
[dark] ytd-topbar-logo-renderer#logo {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAG+CAYAAADLFp9pAACJi0lEQVR42uzdDZhW93nf+XtAQkhCWKAxMB4PzIthXrARbhvXqkVK3ciy1rYSp1VS7TqKG6e4iZqIaOUqXdQamrSiap1akC6xsVohr7yxcFYXotblFlnQiqVCCKrYBixrPQSMUUAGIQkEM/DM2eeYkYNlxNvM8zzn5fO9ru/lTevNVc597v/5/+/fPOdEAMg1ByImHI6YlHosor1q5/GIrsGIvz7s3zwR8QvDfuRkxC2n+StVF7zJ36lE3P0m/7Dq0tO8r+oX3uSqqo+8yW8MRax7w+r//GT1P599K6v/939e/c/vn4/V/+5L1f88dC6r/70jSURyLqv/3aHz+d83bP95/r9x2zn+vf/tTdfnG2e4hv/xTdf5P7ypFqmLTq9XtYZ3nqGu/+BNtf/F0+6L+W/cLwMRfek9lPpqRHN6Xx2KeJtOAwAAAAAAAAAAAPBj1kdckgaJaaA4HFC/azhw/BtvhJCnBZP/aDiw/MenhZr3nBZ2fv60MPT/eouw+Y2A9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