diff --git a/4chan_x.user.js b/4chan_x.user.js index 522a3ef46..97266e2db 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -715,6 +715,9 @@ quotelink = _ref2[_k]; if (quotelink.hash) { this.nodes.quotelinks.push(quotelink); + if (quotelink.parentNode.parentNode.className === 'capcodeReplies') { + continue; + } quotes["" + (quotelink.pathname.split('/')[1]) + "." + quotelink.hash.slice(2)] = true; } } diff --git a/script.coffee b/script.coffee index 96749de8d..72d5bfaa8 100644 --- a/script.coffee +++ b/script.coffee @@ -564,6 +564,7 @@ class Post # Only add quotes that link to posts on an imageboard. if quotelink.hash @.nodes.quotelinks.push quotelink + continue if quotelink.parentNode.parentNode.className is 'capcodeReplies' quotes["#{quotelink.pathname.split('/')[1]}.#{quotelink.hash[2..]}"] = true @quotes = Object.keys quotes