summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-11-28 19:30:12 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-11-28 19:30:12 +0100
commita4ffc8f79436a8fd809005e88f7dc39071621acd (patch)
treeaab27021128b2b867f4a8b5758805a5e6bda4521
parent0955819f091e5b025879aa80144e4125d5af1ffa (diff)
downloadcrocoite-a4ffc8f79436a8fd809005e88f7dc39071621acd.tar.gz
crocoite-a4ffc8f79436a8fd809005e88f7dc39071621acd.tar.bz2
crocoite-a4ffc8f79436a8fd809005e88f7dc39071621acd.zip
behavior: Expand issue comments on GitHub
-rw-r--r--crocoite/data/click.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/crocoite/data/click.js b/crocoite/data/click.js
index f2c59f6..b3e425b 100644
--- a/crocoite/data/click.js
+++ b/crocoite/data/click.js
@@ -81,6 +81,12 @@ const sites = Object.freeze ([
/* more posts */
{s: 'post-list a.post-list__load-more', flags: selectorFlag.multi},
],
+ }, {
+ hostname: /^(www\.)?github\.com$/i,
+ selector: [
+ /* show hidden issue items, see https://github.com/dominictarr/event-stream/issues/116 */
+ {s: 'div#discussion_bucket form.ajax-pagination-form button.ajax-pagination-btn', flags: selectorFlag.none},
+ ],
}
]);