Add case sensitivity

This commit is contained in:
Austen Adler 2016-02-21 13:46:27 -05:00
parent 744f92afb3
commit 135fb5ab1b
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 = [