From 0ff97e100fe190dd5d1e4458650b00dc06a78fea Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 20 May 2018 10:00:31 +0200 Subject: behavior: Click Patreon’s “load more” button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crocoite/data/click.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crocoite') 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}, + ], } ]); -- cgit v1.2.3