Skip to content

Replace Miniplayer with PiP by chromiacat

Details

Authorchromiacat

LicenseGNU General Public License v3.0

Categoryyoutube

Created

Updated

Size653 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Disables the Miniplayer button and can optionally enable the PiP one.
The shortcut to toggle Miniplayer is still active and can be used if needed.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Replace Miniplayer with PiP
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Disables the Miniplayer button and can optionally enable the PiP one.
@author         ChromiaCat
@preprocessor   stylus
@var checkbox miniplayer "Disable Miniplayer button" 0
@var checkbox pip "Enable Picture-in-Picture button" 0
==/UserStyle== */
@-moz-document domain("youtube.com") {
    if miniplayer {
        .ytp-miniplayer-button {
            display: none !important
        }
    }
    if pip {
        .ytp-pip-button {
            display: inline !important
        }
    }
}

Reviews

No reviews yet.