Make cross-domain quotes of you light up thread watcher.
This commit is contained in:
parent
f30ef0e068
commit
406029ce19
@ -262,7 +262,7 @@ ThreadWatcher =
|
|||||||
continue unless !quotingYou and QuoteYou.db and postObj.com
|
continue unless !quotingYou and QuoteYou.db and postObj.com
|
||||||
|
|
||||||
quotesYou = false
|
quotesYou = false
|
||||||
regexp = /<a [^>]*\bhref="(?:\/([^\/]+)\/thread\/)?(\d+)?(?:#p(\d+))?"/g
|
regexp = /<a [^>]*\bhref="(?:(?:\/\/boards\.4chan(?:nel)?\.org)?\/([^\/]+)\/thread\/)?(\d+)?(?:#p(\d+))?"/g
|
||||||
while match = regexp.exec postObj.com
|
while match = regexp.exec postObj.com
|
||||||
if QuoteYou.db.get {
|
if QuoteYou.db.get {
|
||||||
boardID: match[1] or boardID
|
boardID: match[1] or boardID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user