Skip to content

Commit

Permalink
Updated selector for hiding Shorts sections (adamlui/userscripts#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Oct 28, 2024
1 parent 3046a46 commit c04391c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions greasemonkey/youtube-classic.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
// @version 2024.9.2
// @version 2024.10.27
// @author Adam Lui, Magma_Craft, Anarios, JRWR, Fuim & hoothin
// @namespace https://github.com/adamlui
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
Expand Down Expand Up @@ -1385,9 +1385,7 @@ textarea.tp-yt-iron-autogrow-textarea {
}
/* Remove Shorts, Trending, Podcasts and Shopping in the guide menus + Other elements to be fixed, modified and removed */
#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer.style-scope[title="Shorts"] {
display: none !important;
}
.ytd-rich-section-renderer { display: none !important }
#endpoint.yt-simple-endpoint.ytd-mini-guide-entry-renderer.style-scope[title="Shorts"] {
display: none !important;
Expand Down

0 comments on commit c04391c

Please sign in to comment.