More upvotes and make regexp more readable.
This commit is contained in:
parent
f8209a7bf4
commit
edd6f5477a
@ -1,7 +1,25 @@
|
|||||||
Upvotes =
|
Upvotes =
|
||||||
count: {}
|
count: {}
|
||||||
text: '\u305D\u3046\u3060\u306D'
|
text: '\u305D\u3046\u3060\u306D'
|
||||||
regexp: /(?:^>.*\n)+\s*(?:\u305D\u3046\u3060\u306D|(?:this(?!\ )|\+1|upvote(?!\ )d?|under[\ -]?rated|\/thread)\b)/gmi
|
regexp: ///
|
||||||
|
(?:^>.*\n)+\s*
|
||||||
|
(?:
|
||||||
|
\u305D\u3046\u3060\u306D
|
||||||
|
|
|
||||||
|
(?:
|
||||||
|
this(?!\ )
|
||||||
|
|\+1
|
||||||
|
|upvote(?!\ )d?
|
||||||
|
|under[\ -]?rated
|
||||||
|
|\/thread
|
||||||
|
|10\/10
|
||||||
|
|(?:i\ |top\ )*(?:lol|kek)(?:'?d|\.?$)
|
||||||
|
|(?:fukken\ |fucking\ )?saved
|
||||||
|
|nice(?!\ )
|
||||||
|
)
|
||||||
|
\b
|
||||||
|
)
|
||||||
|
///gmi
|
||||||
|
|
||||||
init: ->
|
init: ->
|
||||||
return unless g.VIEW in ['thread', 'index'] and Conf['Upvotes']
|
return unless g.VIEW in ['thread', 'index'] and Conf['Upvotes']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user