summaryrefslogtreecommitdiff
path: root/crocoite/data
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-05-20 10:00:31 +0200
committerLars-Dominik Braun <lars@6xq.net>2018-05-20 10:00:31 +0200
commit0ff97e100fe190dd5d1e4458650b00dc06a78fea (patch)
treeeb8bc7f783dc382652fc8ef33b2a7d48295b97d1 /crocoite/data
parent217c719cd551ca6735ba6fb130ae817477cfb9f1 (diff)
downloadcrocoite-0ff97e100fe190dd5d1e4458650b00dc06a78fea.tar.gz
crocoite-0ff97e100fe190dd5d1e4458650b00dc06a78fea.tar.bz2
crocoite-0ff97e100fe190dd5d1e4458650b00dc06a78fea.zip
behavior: Click Patreon’s “load more” button
Diffstat (limited to 'crocoite/data')
-rw-r--r--crocoite/data/click.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/crocoite/data/click.js b/crocoite/data/click.js
index f6f2852..354abc5 100644
--- a/crocoite/data/click.js
+++ b/crocoite/data/click.js
@@ -57,6 +57,12 @@ const sites = Object.freeze ([
/* expand comment thread */
{s: 'ytd-comment-thread-renderer div.more-button', flags: selectorFlag.none},
],
+ }, {
+ hostname: /^www\.patreon\.com$/i,
+ selector: [
+ /* load more content */
+ {s: 'div[display=flex] div[display=block] button[color=gray][type=button]', flags: selectorFlag.multi},
+ ],
}
]);