diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-11-17 08:34:02 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-11-17 08:43:06 +0100 |
commit | 25b5cc982dc1e5c12a3c2ec528e3b4cf518fd780 (patch) | |
tree | a56f8cda401073a904123eed0547df6471db5b11 | |
parent | 20634f87124e0529f45db4e5e801f1bb5c6de32c (diff) | |
download | crocoite-25b5cc982dc1e5c12a3c2ec528e3b4cf518fd780.tar.gz crocoite-25b5cc982dc1e5c12a3c2ec528e3b4cf518fd780.tar.bz2 crocoite-25b5cc982dc1e5c12a3c2ec528e3b4cf518fd780.zip |
click: Add gab.ai
Load more posts on profile page and more comments and replies on
individual post pages.
-rw-r--r-- | crocoite/data/click.js | 10 |
1 files changed, 10 insertions, 0 deletions
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}, + ], } ]); |