diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-05-20 10:00:31 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-05-20 10:00:31 +0200 |
commit | 0ff97e100fe190dd5d1e4458650b00dc06a78fea (patch) | |
tree | eb8bc7f783dc382652fc8ef33b2a7d48295b97d1 /crocoite | |
parent | 217c719cd551ca6735ba6fb130ae817477cfb9f1 (diff) | |
download | crocoite-0ff97e100fe190dd5d1e4458650b00dc06a78fea.tar.gz crocoite-0ff97e100fe190dd5d1e4458650b00dc06a78fea.tar.bz2 crocoite-0ff97e100fe190dd5d1e4458650b00dc06a78fea.zip |
behavior: Click Patreon’s “load more” button
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/data/click.js | 6 |
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}, + ], } ]); |