Skip to content

YouTube anti-distraction by frostynick

Imported and mirrored from https://raw.githubusercontent.com/uso-archive/data/flomaster/data/usercss/216206.user.css

Screenshot of YouTube anti-distraction

Details

Authorfrostynick

LicenseGPL-2.0-only

Categoryyoutube

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Sometimes you may have a homework/job lesson on YT ... but find the recommendations to be distracting. This is a way to avoid getting distracted!

What this extension does:

  • Video recommendations removed on home screen and while watching YouTube videos.
  • Notification buttons removed.
  • Use this while you don't want to spend too much time on YouTube.

Note this doesn't prevent auto-play.

tags: work mode, procrastination, binge-watching

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         YouTube anti-distraction
@namespace    USO Archive
@author       Fighter169mobile
@description  Sometimes you may have a homework/job lesson on YT ... but find the recommendations to be distracting. This is a way to avoid getting distracted!    What this extension does:  - Video recommendations removed on home screen and while watching YouTube videos.  - Notification buttons removed.  - Use this while you don't want to spend too much time on YouTube.     Note this doesn't prevent auto-play.    tags: work mode, procrastination, binge-watching
@version      20211011.23.14
@license      NONE
@preprocessor uso
==/UserStyle== */
@-moz-document domain("youtube.com") {
/* All of YouTube */
/* #contents, .style-scope.ytd-notification-topbar-button-renderer.notification-button-style-type-default, .ytp-videowall-still.ytp-suggestion-set {
    display: none !important;
} */
/*Remove notification button*/
 .style-scope.ytd-notification-topbar-button-renderer/*ytd-notification-topbar-button-renderer #button.ytd-notification-topbar-button-renderer */ {
    display: none;
}

}

@-moz-document url-prefix("https://www.youtube.com/watch") {
/*Removes recommendation view after watching videos. Turn off autoplay too if you want. */
#secondary, #related {
    display: none;
}
}

@-moz-document url("https://www.youtube.com/") {
#contents {
    display: none !important;
}
#text.yt-chip-cloud-chip-renderer {
    font-size: 0;
}
#text.yt-chip-cloud-chip-renderer::after {
    content: "👀" !important;
    font-size: 14px;
}
}

Reviews

No reviews yet.