Make cross-domain quotes of you light up thread watcher.

This commit is contained in:
ccd0 2018-11-24 23:50:56 -08:00
parent f30ef0e068
commit 406029ce19

View File

@ -262,7 +262,7 @@ ThreadWatcher =
continue unless !quotingYou and QuoteYou.db and postObj.com
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
if QuoteYou.db.get {
boardID: match[1] or boardID