Displays a browser notification whenever a user mentions specific textual word(s) in a channel. The script must be manually edited to configure the keywords.
I added my keywords "cryptobud" and "chat" to the keywordsRegexp string: var keywordsRegexp = /\bcryptobud\b|\bchat\b|\bmatchwordstart|trivia|matchwordend\b|^matchmessagestart|matchmessageend$/gi; But am not getting notifications. I am getting a warning flag in the code: eslint: curly - Expected { after 'if' condition. at line 35. Using Msft Edge browser with TamperMonkey.
I added my keywords "cryptobud" and "chat" to the keywordsRegexp string:
var keywordsRegexp = /\bcryptobud\b|\bchat\b|\bmatchwordstart|trivia|matchwordend\b|^matchmessagestart|matchmessageend$/gi;
But am not getting notifications.
I am getting a warning flag in the code:
eslint: curly - Expected { after 'if' condition.
at line 35.
Using Msft Edge browser with TamperMonkey.