-
Notifications
You must be signed in to change notification settings - Fork 0
/
twitch
77 lines (56 loc) · 3.86 KB
/
twitch
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
[Adblock Plus 3.13]
! Title: 💬 Twitch: Pure Viewing Experience
! Version: 23May2023v1-Beta
! Expires: 5 days
! Description: This list aims to remove distracting elements, and to maximise the elements inside the chat to make it easier to read.
! Note that this list does not remove in-player ads at all. There are several other lists and adblocker tools out there that you'll need to keep frequently updated in order to accomplish that.
! In order to hide buttons and links to Amazon's account and payment services, check out "Anti-Amazon List for Twitch" (https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiAmazonListForTwitch.txt).
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#-english
twitch.tv
m.twitch.tv
||twitch.tv
||m.twitch.tv
||static-cdn.jtvnw.net
! Removes the "Recommended channels" section when you're logged on
twitch.tv##.recommended-channels
twitch.tv##.tw-flex-grow-1 > div:nth-of-type(1) > .side-nav-section:nth-of-type(2)
twitch.tv#?#.side-nav-section:has(path[d^="M12.0"])
! Removes the "Recommended channels" section when you're not logged on
twitch.tv##.tw-full-width > .tw-mg-b-2
! Attempts to remove suggestions from the "Following" page
twitch.tv#?#div:has(> .tw-mg-b-1 > h4[data-a-target=live-channels-header]) + div
! Aims to remove the spacing between Twitch emotes, for the sake of multi-part emotes
twitch.tv#?#.message > span:has-text(/^ $/)
clips.twitch.tv#?#span.text-fragment:not(:has-text(/\S/))
! Desperately tries to remove the "Popular videos [from everywhere]" row and most likely failing at it.
clips.twitch.tv#?#div:nth-of-type(3):has(> .tw-pd-y-2)
! Removes the ungodly awful Hype Train chat banner
twitch.tv##.community-highlight-stack__card
! Aims to remove mass spamming of "!play" on streams of 'Marbles on Stream'
twitch.tv#?#div[class$=message]:not(.tw-inline):has(.message:has-text(/^!play$/))
! Aims to remove that one RPG-loot-game embed window that is on some Twitch channels
twitch.tv#?#.channel-panels-container div[style^=position]:has(a[href^="/ext/ro13roxp88918kulntih9uzm7vs9jr"])
! Removed a seemingly blank community message floaty on top of chat
twitch.tv##.community-highlight-stack__backlog-card
! Aims to remove the "Popular videos" section on individual clips' pages
clips.twitch.tv##div[class^=Layout-sc-]:nth-of-type(3):last-of-type > div:not([class]):nth-of-type(2):last-of-type
! ——— ↓ Not supported by ABP or AdBlock ↓ ———
! Reduces the size of the chat header
twitch.tv#?#.video-chat__header:style(height: 20px !important)
twitch.tv#?#.tw-pd-r-1.tw-pd-l-2.tw-justify-content-between.tw-full-width:style(height: 2rem)
! Broadens the chat textbox
twitch.tv#?#.tw-flex-shrink-0.tw-full-width.tw-pd-b-2.tw-pd-t-1.tw-pd-x-2.video-chat__input:style(padding: 4px 1px 1px !important)
twitch.tv#?#.tw-textarea.tw-textarea--no-resize:style(padding: 1px 35px !important; height: 55px !important)
twitch.tv#?#.chat-input.tw-block:style(padding: 0 3px 2px !important)
! Reduces the size of the "Hosting [channel]" header
twitch.tv#?#.tw-align-items-center.tw-flex.tw-flex-nowrap.tw-justify-content-between.tw-pd-1:style(padding-top: 0 !important; padding-bottom: 0 !important)
! Narrows the spacing between the chat comments
twitch.tv#?#.chat-line__message:style(padding: 2px 4px !important)
twitch.tv#?#.tw-full-width.tw-pd-l-05.tw-pd-y-05.vod-message:style(padding: 2px 4px !important)
clips.twitch.tv#?#.clips-chat-replay > .tw-mg-b-1:style(margin-bottom: 2px !important)
! Narrows the spacing between the chat comments in mobile browser mode
m.twitch.tv#?#li.chat-message:style(padding: 2px !important)
! Maximises the size of the clip viewer pages
clips.twitch.tv#?#.clips-watch.tw-lg-pd-b-5.tw-pd-b-2.tw-sm-pd-b-3:style(max-width: none)
! Makes avatars square again without having to use FrankerFaceZ
twitch.tv#?#.tw-avatar > img.tw-border-radius-rounded:style(border-radius: unset !important)