diff --git a/4chan_x.user.js b/4chan_x.user.js index 135379bcb..1c0085003 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4528,6 +4528,11 @@ return "//archive.foolz.us/" + board + "/full_image/" + filename; case 'u': return "//nsfw.foolz.us/" + board + "/full_image/" + filename; + case 'an': + case 'k': + case 'toy': + case 'x': + return "http://archive.heinessen.com/" + board + "/full_image/" + filename; } }, post: function(board, postID) { diff --git a/changelog b/changelog index c292dc797..0857cc1a1 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,6 @@ master - Mayhem + Add /an/, /k/, /toy/ and /x/ archived image redirection. One-word-captcha now works in the report window. Fix duplicate file upload error link. diff --git a/script.coffee b/script.coffee index 632337c80..620ccc94a 100644 --- a/script.coffee +++ b/script.coffee @@ -3599,11 +3599,10 @@ Redirect = "//archive.foolz.us/#{board}/full_image/#{filename}" when 'u' "//nsfw.foolz.us/#{board}/full_image/#{filename}" - # these will work whenever https://github.com/eksopl/fuuka/issues/23 is done # when 'cgl', 'g', 'w' # "//archive.rebeccablacktech.com/#{board}/full_image/#{filename}" - # when 'an', 'k', 'toy', 'x' - # "http://archive.heinessen.com/#{board}/full_image/#{filename}" + when 'an', 'k', 'toy', 'x' + "http://archive.heinessen.com/#{board}/full_image/#{filename}" # when 'e' # "https://www.cliché.net/4chan/cgi-board.pl/#{board}/full_image/#{filename}" post: (board, postID) ->