summaryrefslogtreecommitdiff
path: root/crocoite/data/click.js
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite/data/click.js')
-rw-r--r--crocoite/data/click.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/crocoite/data/click.js b/crocoite/data/click.js
index 03e9f37..d19ec9f 100644
--- a/crocoite/data/click.js
+++ b/crocoite/data/click.js
@@ -43,6 +43,14 @@ const sites = Object.freeze ([
* frequent */
{s: 'span.morecomments a', flags: selectorFlag.none, throttle: 500},
],
+ }, {
+ hostname: /^www\.instagram\.com$/i,
+ selector: [
+ /* posts may have multiple images that load dynamically, click the arrow */
+ {s: 'a[role=button].coreSpriteRightChevron', flags: selectorFlag.multi, throttle: 500},
+ /* load more comments */
+ {s: 'article div ul li a[role=button]', flags: selectorFlag.multi},
+ ],
}
]);