From 9e147b26b06faae1e707817448018f233b6a9ece Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 10 Dec 2014 21:07:04 -0800 Subject: [PATCH] Disable 4chan's reported post hiding code. #219 --- src/Miscellaneous/Fourchan.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Miscellaneous/Fourchan.coffee b/src/Miscellaneous/Fourchan.coffee index f190290f4..d05886b6d 100755 --- a/src/Miscellaneous/Fourchan.coffee +++ b/src/Miscellaneous/Fourchan.coffee @@ -36,7 +36,7 @@ Fourchan = name: 'Parse /sci/ math' cb: @math - # Disable 4chan's ID highlighting (replaced by IDHighlight). + # Disable 4chan's ID highlighting (replaced by IDHighlight) and reported post hiding. $.ready -> $.globalEval ''' (function() { @@ -45,6 +45,7 @@ Fourchan = for (var i = 0; i < nodes.length; i++) { nodes[i].removeEventListener("click", idClick, false); } + window.removeEventListener("message", Report.onMessage, false); })(); '''