forked from Asterohobit/focusfilter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
85 lines (72 loc) · 2.72 KB
/
Copy pathstyles.css
File metadata and controls
85 lines (72 loc) · 2.72 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* --- YouTube rules --- */
/* Hide the Shorts link in the left sidebar */
html[data-ff-global="1"][data-ff-rule-yt-shorts-nav="1"] a[title="Shorts"] {
display: none !important;
}
/* Hide the horizontal Shorts shelves on the homepage */
html[data-ff-global="1"][data-ff-rule-yt-shorts-home-shelf="1"]
ytd-rich-shelf-renderer[is-shorts] {
display: none !important;
}
/* Hide the horizontal Shorts shelves on the search results page */
html[data-ff-global="1"][data-ff-rule-yt-shorts-search-shelf="1"]
grid-shelf-view-model {
display: none !important;
}
/* Hide videos on the homepage */
html[data-ff-global="1"][data-ff-rule-yt-home-feed="1"]
ytd-two-column-browse-results-renderer[page-subtype="home"] {
display: none !important;
}
/* Hide video recommendations on video end screen */
html[data-ff-global="1"][data-ff-rule-yt-watch-endscreen="1"]
div[class="ytp-fullscreen-grid-stills-container"] {
display: none !important;
}
/* Hide the entire sidebar on the video page */
html[data-ff-global="1"][data-ff-rule-yt-video-sidebar="1"]
div[id="secondary"][class="style-scope ytd-watch-flexy"] {
display: none !important;
}
/* Hide the Shorts tab on the channel page */
html[data-ff-global="1"][data-ff-rule-yt-channel-shorts-tab="1"]
yt-tab-shape[tab-title="Shorts"] {
display: none !important;
}
/* Hide the Shorts in the Shorts tab on the channel page
only relevant if you type the Shorts tab URL directly, since the tab is hidden */
html[data-ff-global="1"][data-ff-rule-yt-channel-shorts-grid="1"]
ytd-rich-item-renderer[is-shorts-grid] {
display: none !important;
}
/* Hide Shorts shelves on the channel page */
html[data-ff-global="1"][data-ff-rule-yt-channel-shorts-shelf="1"]
ytd-reel-shelf-renderer {
display: none !important;
}
/* Hide Shorts in the 'For you' section on the channel page, also the wrapper */
html[data-ff-global="1"][data-ff-rule-yt-mobile-shorts-lockup="1"]
ytm-shorts-lockup-view-model,
html[data-ff-global="1"][data-ff-rule-yt-mobile-shorts-lockup="1"]
ytm-shorts-lockup-view-model-v2 {
display: none !important;
}
/* Hide next Reell on the Reell watch page, essentially disabling scrolling */
html[data-ff-global="1"][data-ff-rule-yt-shorts-next-reel="1"]
div[class="reel-video-in-sequence-new style-scope ytd-shorts"]:not([id="0"]) {
display: none !important;
}
/* --- Instagram rules --- */
/* Hide ads in the Instagram home feed */
html[data-ff-global="1"][data-ff-rule-insta-hide-ads-homefeed="1"]
article:has(a._ad63) {
display: none !important;
}
html[data-ff-global="1"][data-ff-rule-insta-hide-reels-button="1"]
a[href="/reels/"] {
display: none !important;
}
html[data-ff-global="1"][data-ff-rule-insta-hide-explore-button="1"]
a[href="/explore/"] {
display: none !important;
}