From 135fb5ab1b5576c94a76783e826c51772edd092c Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 21 Feb 2016 13:46:27 -0500 Subject: [PATCH] Add case sensitivity --- README.md | 1 + ytch.user.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 940f528..731fc32 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,5 @@ Drag ytch.user.js into Firefox (with Greasemonkey installed) or chrome (with Tam - Go to User Scripts and the click Preferences next to "Youtube comment hider" - Click "Edit this User Script" - Edit the `hideCommentOrDimComment` and `wordList` options + - `wordList` is case sensitive, adding "the" will not remove comments with "The" - Save and close the script window and the Preferences window diff --git a/ytch.user.js b/ytch.user.js index 20fcbca..924aacb 100644 --- a/ytch.user.js +++ b/ytch.user.js @@ -15,7 +15,7 @@ // Set this to 'hide' to hide comments that contain words // Set this to 'dim' to dim comments that contain words var hideCommentOrDimComment = 'dim'; -// Set this to an array of words or phrases to check for +// Set this to an array of words or phrases to check for (case sensitive) // All entries should be wrapped in '' or "" // All entries except the last one should end in a comma after ' or " var wordList = [