Repository navigation
Expand file tree
/
Copy pathcontent.css
More file actions
69 lines (60 loc) · 1.48 KB
/
Copy pathcontent.css
File metadata and controls
69 lines (60 loc) · 1.48 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
[data-ytallowed-hidden] {
position: relative !important;
pointer-events: none !important;
user-select: none !important;
}
[data-ytallowed-hidden] * {
visibility: hidden !important;
}
[data-ytallowed-hidden]::after {
content: '🔒';
position: absolute;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
background: rgba(128, 128, 128, 0.12);
border-radius: 12px;
}
[data-ytallowed-hidden] [data-ytallowed-hidden]::after {
content: none;
}
ytd-guide-entry-renderer[data-ytallowed-hidden],
ytd-rich-section-renderer[data-ytallowed-hidden],
ytd-reel-shelf-renderer[data-ytallowed-hidden],
ytd-shelf-renderer[data-ytallowed-hidden],
grid-shelf-view-model[data-ytallowed-hidden],
ytd-horizontal-card-list-renderer[data-ytallowed-hidden] {
display: none !important;
}
[data-ytallowed-on] ytd-guide-entry-renderer:has(a[href^="/shorts"]),
[data-ytallowed-on] ytd-mini-guide-entry-renderer:has(a[href^="/shorts"]) {
display: none !important;
}
#ytallowed-overlay {
position: fixed;
inset: 0;
z-index: 999999;
background: #0f0f0f;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
font-family: Roboto, Arial, sans-serif;
}
#ytallowed-overlay .ytallowed-title {
font-size: 24px;
font-weight: 500;
}
#ytallowed-overlay .ytallowed-ch {
font-size: 16px;
color: #aaa;
}
#ytallowed-overlay .ytallowed-hint {
font-size: 13px;
color: #717171;
}