blob: aa49831724fbe64bf9a5e8dbb43d454e0ae52938 (
plain)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
# Configuration for behavior.py:Click
# Example URLs are random. Believe me.
match: ^www\.facebook\.com$
selector:
- description: Show comments and replies/nested comments on user pages
selector: form[action="/ajax/ufi/modify.php"] a[data-testid^="UFI2CommentsPagerRenderer/pager_depth_"]
urls: ["https://www.facebook.com/tagesschau"]
- description: initially show comments below a single post/video, i.e. /user/post/123
selector: form[action="/ajax/ufi/modify.php"] a[data-testid="UFI2CommentsCount/root"]
urls: ["https://www.facebook.com/tagesschau/posts/10157061068659407"]
- description: close the “register now” nag screen. for better screen shots
selector: a#expanding_cta_close_button[role=button]
urls: ["https://www.facebook.com/tagesschau"]
---
match: ^twitter\.com$
selector:
- description: expand threads
selector: a.ThreadedConversation-moreRepliesLink
urls: ["https://twitter.com/realDonaldTrump/status/1068826073775964160"]
- description: show hidden profiles
selector: button.ProfileWarningTimeline-button
urls: ["https://twitter.com/CookieCyboid"]
- description: show hidden/sensitive media. For screen-/snapshots.
selector: button.Tombstone-action.js-display-this-media
urls: ["https://twitter.com/CookieCyboid/status/1070807283305713665"]
---
match: ^disqus\.com$
selector:
- description: load more comments
selector: a.load-more__button
multi: True
---
# new layout
match: ^www\.reddit\.com$
selector:
- description: show more comments, reddit’s javascript ignores events if too frequent
selector: div[id^=moreComments-] > div > p
throttle: 500
urls: ["https://www.reddit.com/r/subredditcancer/comments/b2b80f/we_are_moderators_of_rwatchpeopledie_amaa_just/"]
---
# old layout
match: ^(old|np)\.reddit\.com$
selector:
- description: show more comments, reddit’s javascript ignores events if too frequent
selector: span.morecomments a
throttle: 500
urls: ["https://old.reddit.com/r/subredditcancer/comments/b2b80f/we_are_moderators_of_rwatchpeopledie_amaa_just/"]
---
match: ^www\.instagram\.com$
selector:
- description: load more comments
selector: article div ul li button[type=button]
multi: True
urls: ["https://www.instagram.com/p/BuqGbgJHCCP/"]
---
match: ^www\.youtube\.com$
selector:
- description: expand comment thread
selector: ytd-comment-thread-renderer div.more-button
urls: ["https://www.youtube.com/watch?v=udtFqQuBFSc"]
- description: show more comment thread replies
selector: div.ytd-comment-replies-renderer > yt-next-continuation > paper-button
urls: ["https://www.youtube.com/watch?v=Lov0T3eXI2k"]
multi: True
---
match: ^www\.patreon\.com$
selector:
- description: load more content
# this selector is so long, because there are no stable css classes
selector: div[display="block"] > div > div > div[display="flex"] > div > button[tabindex="0"][type="button"]
urls: ["https://www.patreon.com/nkjemisin"]
- description: load more comments
selector: div[display=flex] div[display=block] a[color="dark"][role="button"][tabindex="0"]
urls: ["https://www.patreon.com/posts/what-im-on-22124040"]
- description: load more replies
selector: div > a[scale="0"][color=blue][size="1"]
---
# gab uses multiple domains without any preference for either (i.e. redirect),
# so we need to support them all
match: ^(www\.)?gab\.(ai|com)$
selector:
- description: more replies
selector: post-detail post-comment .post-comment__replies__count a
urls: ["https://gab.ai/gab/posts/40014689", "https://www.gab.com/gab/posts/40014689"]
- description: more comments
selector: post-detail .post-comment-list__loading a
urls: ["https://gab.ai/gab/posts/41804462", "https://www.gab.com/gab/posts/41804462"]
- description: more posts
selector: post-list a.post-list__load-more
multi: True
urls: ["https://gab.ai/gab", "https://www.gab.com/gab"]
---
match: ^(www\.)?github\.com$
selector:
- description: show hidden issue items
urls: ["https://github.com/dominictarr/event-stream/issues/116"]
selector: div#discussion_bucket form.ajax-pagination-form button.ajax-pagination-btn
---
match: ^www\.gamasutra\.com$
selector:
- description: Load more comments
urls: ["http://www.gamasutra.com/blogs/RaminShokrizade/20130626/194933/The_Top_F2P_Monetization_Tricks.php"]
selector: div#dynamiccomments div.viewTopCmts a
---
match: ^(www\.)?steamcommunity\.com$
selector:
- description: Load more content
urls: ["https://steamcommunity.com/app/252950/reviews/?p=1&browsefilter=toprated&filterLanguage=all"]
selector: "#GetMoreContentBtn a"
multi: True
---
match: ^imgur\.com$
selector:
- description: Load more image of an album
urls: ["https://imgur.com/a/JG1yc"]
selector: div.js-post-truncated a.post-loadall
- description: Expand all comments (for snapshots)
urls: ["https://imgur.com/a/JG1yc"]
selector: div.comments-info span.comments-expand
- description: Show bad replies (for snapshots)
urls: ["https://imgur.com/gallery/0l6Yo4r"]
selector: div#comments div.bad-captions a.link
---
match: ^(www\.)?vimeo\.com$
selector:
- description: Load more videos on profile page
urls: ["https://vimeo.com/dsam4a"]
selector: div.profile_main div.profile-load-more__button--wrapper button.profile-load-more__button
# XXX: this works when using a non-headless browser, but does not otherwise
# - description: Expand video comments
# urls: ["https://vimeo.com/22439234"]
# selector: section#comments button.iris_comment-more
# multi: True
|