From c182d1b07d69c179af278c4bdd8e318e88daab0a Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 15 Nov 2015 14:45:03 -0800 Subject: [PATCH] This is probably more effective. --- src/Miscellaneous/Report.coffee | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Miscellaneous/Report.coffee b/src/Miscellaneous/Report.coffee index 50bb0fa1d..2ad2c0464 100644 --- a/src/Miscellaneous/Report.coffee +++ b/src/Miscellaneous/Report.coffee @@ -12,12 +12,6 @@ Report = Report.archive() if Conf['Archive Report'] - link = $.el 'a', - href: 'https://report.cybertip.org/' - textContent: 'Report to NCMEC' - target: '_blank' - $.add d.body, [$.tn(' ['), link, $.tn(']')] - if (passAd = $ 'a[href="https://www.4chan.org/pass"]') $.extend passAd, textContent: 'Complain' @@ -25,6 +19,13 @@ Report = passAd.parentNode.normalize() if (prev = passAd.previousSibling)?.nodeType is Node.TEXT_NODE prev.nodeValue = prev.nodeValue.replace /4chan Pass[^\.]*\./i, 'reCAPTCHA malfunctioning?' + $.after passAd, [ + $.tn '] [' + $.el 'a', + href: 'mailto:abuse@quadranet.com' + textContent: 'abuse@quadranet.com' + target: '_blank' + ] if Conf['Use Recaptcha v2 in Reports'] and $.hasClass doc, 'js-enabled' new MutationObserver(->