From 25b5cc982dc1e5c12a3c2ec528e3b4cf518fd780 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 17 Nov 2018 08:34:02 +0100 Subject: click: Add gab.ai Load more posts on profile page and more comments and replies on individual post pages. --- crocoite/data/click.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/crocoite/data/click.js b/crocoite/data/click.js index 90be282..88c8f24 100644 --- a/crocoite/data/click.js +++ b/crocoite/data/click.js @@ -71,6 +71,16 @@ const sites = Object.freeze ([ /* load more replies */ {s: 'div > a[scale="0"][color=blue][size="1"]', flags: selectorFlag.none}, ], + }, { + hostname: /^(www\.)?gab\.ai$/i, + selector: [ + /* post comments */ + {s: 'post-detail post-comment .post-comment__replies__count a', flags: selectorFlag.none}, + /* more comments */ + {s: 'post-detail .post-comment-list__loading a', flags: selectorFlag.none}, + /* more posts */ + {s: 'post-list a.post-list__load-more', flags: selectorFlag.multi}, + ], } ]); -- cgit v1.2.3