Add case sensitivity
This commit is contained in:
parent
744f92afb3
commit
135fb5ab1b
@ -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"
|
- Go to User Scripts and the click Preferences next to "Youtube comment hider"
|
||||||
- Click "Edit this User Script"
|
- Click "Edit this User Script"
|
||||||
- Edit the `hideCommentOrDimComment` and `wordList` options
|
- 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
|
- Save and close the script window and the Preferences window
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
// Set this to 'hide' to hide comments that contain words
|
// Set this to 'hide' to hide comments that contain words
|
||||||
// Set this to 'dim' to dim comments that contain words
|
// Set this to 'dim' to dim comments that contain words
|
||||||
var hideCommentOrDimComment = 'dim';
|
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 should be wrapped in '' or ""
|
||||||
// All entries except the last one should end in a comma after ' or "
|
// All entries except the last one should end in a comma after ' or "
|
||||||
var wordList = [
|
var wordList = [
|
||||||
|
Loading…
Reference in New Issue
Block a user