From a947333da221d8a8f74c1971f1a09fe21ccfebcf Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 4 Apr 2018 09:02:33 +0200 Subject: behavior: Add selector for YouTube. --- crocoite/data/click.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crocoite/data') diff --git a/crocoite/data/click.js b/crocoite/data/click.js index d19ec9f..f6f2852 100644 --- a/crocoite/data/click.js +++ b/crocoite/data/click.js @@ -51,6 +51,12 @@ const sites = Object.freeze ([ /* load more comments */ {s: 'article div ul li a[role=button]', flags: selectorFlag.multi}, ], + }, { + hostname: /^www\.youtube\.com$/i, + selector: [ + /* expand comment thread */ + {s: 'ytd-comment-thread-renderer div.more-button', flags: selectorFlag.none}, + ], } ]); -- cgit v1.2.3