Skip to content

YouTube - remove text labels on action buttons by magma_craft

Screenshot of YouTube - remove text labels on action buttons

Details

Authormagma_craft

LicenseCC Zero

Categoryyoutube

Created

Updated

Size2.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This removes text on all buttons except for like/dislike buttons, and plus it has room for the upload date to appear (especially on smaller displays)

Notes

Note: I would recommend installing this script to fix the action buttons issue (this was due to missing the other buttons than 'Like/Dislike and Share' buttons).
Link: https://greasyfork.org/en/scripts/466532-action-buttons-fix-modified

Changelog:
Version 1.0.0 - Intinal Release.
Version 1.0.1 - Fixed a bug with a text appearing (both Download and Save buttons) on all videos that are Made for kids.
Version 1.1.0 - Fully compatible with the new rounded YouTube layout and removed "Download" text from SF helper button.
Version 1.2.0 - Fixed an issue when this userstyle never worked with the current YouTube UI. (I also added options to hide the 'Download, Clip, Thanks and Promote' buttons, so you don't need a seprate userstyle to do this)

Source code

/* ==UserStyle==
@name           YouTube - remove text labels on action buttons
@namespace      userstyles.world/user/magma_craft
@version        1.2.0
@description    This removes text on all buttons except for like/dislike buttons, and plus it has room for the upload date to appear (especially on smaller displays)
@author         Magma_Craft
@preprocessor   stylus
@var            checkbox  hideDownbtn   "Hide 'Download' button"                            0
@var            checkbox  hideClipbtn   "Hide 'Clip' button"                                0
@var            checkbox  hideThxbtn    "Hide 'Thanks' button"                              0
@var            checkbox  hidePromote   "Hide 'Promote' button"                             0
==/UserStyle== */

@-moz-document domain("youtube.com") {
/* Remove text labels on action buttons */
yt-button-view-model.style-scope.ytd-menu-renderer div.yt-spec-button-shape-next__button-text-content {
  display: none !important
}

yt-button-view-model.style-scope.ytd-menu-renderer div.yt-spec-button-shape-next__icon {
  margin-right: -6px !important
}

/* Remove text labels on action buttons (Old version) */
yt-formatted-string.style-scope.ytd-button-renderer.style-default.size-default {
display: none
}

yt-formatted-string#text.style-scope.ytd-button-renderer.style-visibly-disabled.size-default {
display: none
}

ytd-button-renderer.force-icon-button:not([has-no-text]) a.ytd-button-renderer {
padding-right: 0px
}

/* Remove text from SF helper button */
span.sf-btn-name {
display: none !important
}

if hideDownbtn {
    ytd-download-button-renderer {
      display: none !important
    }
}

if hideClipbtn {
    #flexible-item-buttons [aria-label="Clip"] {
      display: none !important
    }
}

if hideThxbtn {
    #flexible-item-buttons [aria-label="Thanks"],
    #flexible-item-buttons [title="Show support with Super Thanks"] {
      display: none !important
    }
}

if hidePromotebtn {
    #flexible-item-buttons [aria-label="Promote"] {
      display: none !important
    }
}
}

Reviews

No reviews yet.