-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
56 lines (46 loc) · 1.49 KB
/
Copy pathstyles.css
File metadata and controls
56 lines (46 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* CSS to hide YouTube Shorts */
/* Hide Shorts in the YouTube sidebar navigation */
ytd-guide-entry-renderer a[title="Shorts"],
ytd-mini-guide-entry-renderer a[title="Shorts"] {
display: none !important;
}
/* Hide the entire Shorts section on home page */
ytd-rich-section-renderer {
display: none !important;
}
/* More specific targeting if the above is too aggressive */
ytd-rich-section-renderer
ytd-rich-shelf-renderer
span.title-text:contains("Shorts") {
display: none !important;
}
/* Target the entire parent container of any Shorts section */
ytd-rich-section-renderer:has(span.title-text:contains("Shorts")) {
display: none !important;
}
/* Hide the entire Shorts chip items in the chips bar */
yt-chip-cloud-chip-renderer:has(yt-formatted-string:contains("Shorts")) {
display: none !important;
}
/* Hide Shorts section in "Explore" and other pages */
ytd-reel-shelf-renderer,
ytd-shorts-shelf-renderer {
display: none !important;
}
/* Hide Shorts on video recommendations */
ytd-compact-video-renderer:has(a[href*="/shorts/"]),
ytd-grid-video-renderer:has(a[href*="/shorts/"]) {
display: none !important;
}
/* Hide any Shorts thumbnails by URL pattern */
a[href*="/shorts/"] {
display: none !important;
}
/* Hide the entire Shorts tab in the mobile navigation bar */
ytm-pivot-bar-item-renderer:has(div[aria-label="Shorts"]) {
display: none !important;
}
/* Hide the entire Shorts shelf header container */
ytd-shelf-renderer:has(span:contains("Shorts")) {
display: none !important;
}