diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index ddfd421f8..d12f37b27 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -3364,7 +3364,7 @@ Post.prototype.parseQuote = function(quotelink) { var fullID, match; - if (!(match = quotelink.href.match(/boards\.4chan\.org\/([^\/]+)\/(res|thread)\/\d+(.*)?\#p(\d+)$/))) { + if (!(match = quotelink.href.match(/boards\.4chan\.org\/([^\/]+)\/thread\/\d+.*\#p(\d+)$/))) { return; } this.nodes.quotelinks.push(quotelink); diff --git a/builds/crx/script.js b/builds/crx/script.js index 97a348582..ef055bbbe 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -3419,7 +3419,7 @@ Post.prototype.parseQuote = function(quotelink) { var fullID, match; - if (!(match = quotelink.href.match(/boards\.4chan\.org\/([^\/]+)\/(res|thread)\/\d+(.*)?\#p(\d+)$/))) { + if (!(match = quotelink.href.match(/boards\.4chan\.org\/([^\/]+)\/thread\/\d+.*\#p(\d+)$/))) { return; } this.nodes.quotelinks.push(quotelink); diff --git a/src/General/lib/post.class b/src/General/lib/post.class index fbcb4e49d..5cc887c19 100755 --- a/src/General/lib/post.class +++ b/src/General/lib/post.class @@ -101,8 +101,8 @@ class Post return unless match = quotelink.href.match /// boards\.4chan\.org/ ([^/]+) # boardID - /(res|thread)/\d+ - (.*)? # thread slug + /thread/\d+ + .* # thread slug \#p(\d+) # postID $ ///