diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-04-04 09:02:33 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-04-04 09:02:33 +0200 |
commit | a947333da221d8a8f74c1971f1a09fe21ccfebcf (patch) | |
tree | 5bfb33140a55c00a88900c863f850d86580e5082 /crocoite/data | |
parent | 52bbeacfe6adb09dcaa32dd867a8a8c17f848a09 (diff) | |
download | crocoite-a947333da221d8a8f74c1971f1a09fe21ccfebcf.tar.gz crocoite-a947333da221d8a8f74c1971f1a09fe21ccfebcf.tar.bz2 crocoite-a947333da221d8a8f74c1971f1a09fe21ccfebcf.zip |
behavior: Add selector for YouTube.
Diffstat (limited to 'crocoite/data')
-rw-r--r-- | crocoite/data/click.js | 6 |
1 files changed, 6 insertions, 0 deletions
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}, + ], } ]); |