Skip to content

Colourful YouTube Ratings with return-youtube-dislike extension by leonwong0609

Details

Authorleonwong0609

LicenseNO-REDISTRIBUTION

CategoryYouTube

Created

Updated

Size1.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

Source code

/* ==UserStyle==
@name           Colourful YouTube Ratings with return-youtube-dislike extension
@namespace      USO Archive
@author         InvoxiPlayGames; L3ON
@description    `Gives colour to the YouTube rating bar and like/dislike buttons.` Work with [return-youtube-dislike extension](https://github.com/Anarios/return-youtube-dislike)
@version        2021.11.30
@license        NO-REDISTRIBUTION
@preprocessor   uso
@advanced color likecolour "Like Colour" #009900
@advanced color dislikecolour "Dislike Colour" #FF2929

==/UserStyle== */
@-moz-document domain("www.youtube.com"),
domain("youtube.com") {
    #like-bar.ytd-sentiment-bar-renderer {
        background: /*[[likecolour]]*/
        !important;
    }
    /* Like bar */
    #container.ytd-sentiment-bar-renderer {
        background: /*[[dislikecolour]]*/
        !important;
    }
    /* Dislike bar */
    ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(1) {
        color: /*[[likecolour]]*/;
    }
    /* Liked button */
    ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(2) {
        color: /*[[dislikecolour]]*/;
    }
    /* Disliked button */
    
    /* return-youtube-dislike extension */
    #return-youtube-dislike-bar-container {
        background: /*[[dislikecolour]]*/;
    }
    #return-youtube-dislike-bar {
        background: /*[[likecolour]]*/;
    }
}

Reviews

No reviews yet.