diff --git a/4chan_x.user.js b/4chan_x.user.js index 936c011f5..3a9c9043b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3746,6 +3746,7 @@ } }); comment = bq.innerHTML.replace(/(^|>)(>[^<$]*)(<|$)/g, '$1$2$3'); + comment = comment.replace(/((>){2}(>\/[a-z\d]+\/)?\d+)/g, '$1'); o = { postID: postID, threadID: data.thread_num, diff --git a/script.coffee b/script.coffee index f1ed04842..6eda9ea16 100644 --- a/script.coffee +++ b/script.coffee @@ -2978,6 +2978,8 @@ Get = '' # greentext comment = bq.innerHTML.replace /(^|>)(>[^<$]*)(<|$)/g, '$1$2$3' + # quotes + comment = comment.replace /((>){2}(>\/[a-z\d]+\/)?\d+)/g, '$1' o = # id