From fec14cfb16f3f047431581f287021dcd8bd8ee2f Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 4 May 2012 10:16:28 +0200 Subject: [PATCH] Don't use 'mailto:' from email strings when filtering. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index d6c6e9641..a94d79213 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -679,7 +679,7 @@ email: function(post) { var mail; if (mail = $('.useremail', post.el)) { - return mail.href; + return mail.pathname; } return false; }, diff --git a/script.coffee b/script.coffee index c2e59ae43..ee885d19e 100644 --- a/script.coffee +++ b/script.coffee @@ -556,7 +556,7 @@ Filter = false email: (post) -> if mail = $ '.useremail', post.el - return mail.href + return mail.pathname false subject: (post) -> $('.subject', post.el).textContent or false