-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDearrow-RemoveDearrowButton.user.css
More file actions
49 lines (46 loc) · 1.71 KB
/
Dearrow-RemoveDearrowButton.user.css
File metadata and controls
49 lines (46 loc) · 1.71 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
/* ==UserStyle==
@name DeArrow - Remove Dearrow Button
@version 20250311.23.27
@namespace nick2bad4u.github.io
@description Dearrow - Remove Button from YouTube Extension Dearrow
@homepageURL https://github.com/Nick2bad4u/UserStyles
@supportURL https://github.com/Nick2bad4u/UserStyles/issues
@author Nick2bad4u
@license UnLicense
@preprocessor stylus
@var checkbox hidebutton "Hide Button" 1
@var checkbox customdearrowcolor "Change Color of DeArrow Button Color" 0
@advanced dropdown dearrowcolor " Dearrow Button Color" {
Default "Default" <<<EOT 0 EOT;
Pink "Pink" <<<EOT 90 EOT;
Green "Green" <<<EOT 250 EOT;
Red "Red" <<<EOT 150 EOT;
Cyan "Cyan" <<<EOT 340 EOT;
Purple "Purple" <<<EOT 60 EOT;
Blue "Blue" <<<EOT 20 EOT;
Orange "Orange" <<<EOT 150 EOT;
Yellow "Yellow" <<<EOT 200 EOT;
}
@downloadURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/Dearrow-RemoveDearrowButton.user.css
@updateURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/Dearrow-RemoveDearrowButton.user.css
==/UserStyle== */
@-moz-document domain("youtube.com") {
/* stylelint-disable-next-line selector-type-no-unknown -- Stylus preprocessor conditional block */
if hidebutton {
#video-title-link > button > img,
.cbShowOriginal img.cbShowOriginalImage,
.cbTitleButton svg,
.style-scope.ytd-compact-video-renderer
> a
> h3
> button {
display: none !important;
}
}
/* stylelint-disable-next-line selector-type-no-unknown -- Stylus preprocessor conditional block */
if customdearrowcolor {
.cbButton img {
filter: hue-rotate(dearrowcolor deg) saturate(3) !important;
}
}
}