From b7cdd5d54426bab95121b4102f6533da82dccce9 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 3 Sep 2012 21:40:01 +0200 Subject: [PATCH] Add archived image redirection for warosu. --- 4chan_x.user.js | 3 +++ changelog | 2 +- script.coffee | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index f33125dad..28330b953 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4527,6 +4527,9 @@ return "//archive.foolz.us/" + board + "/full_image/" + filename; case 'u': return "//nsfw.foolz.us/" + board + "/full_image/" + filename; + case 'ck': + case 'lit': + return "//fuuka.warosu.org/" + board + "/full_image/" + filename; case 'cgl': case 'g': case 'w': diff --git a/changelog b/changelog index 63f7dc44f..46be62bf9 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,6 @@ master - Mayhem - Add /an/, /cgl/, /g/, /k/, /toy/, /w/ and /x/ archived image redirection. + Add /g/, /k/, /w/, /an/, /cgl/, /ck/, /lit/, /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 92abc83e3..7168d0cb8 100644 --- a/script.coffee +++ b/script.coffee @@ -3598,6 +3598,8 @@ Redirect = "//archive.foolz.us/#{board}/full_image/#{filename}" when 'u' "//nsfw.foolz.us/#{board}/full_image/#{filename}" + when 'ck', 'lit' + "//fuuka.warosu.org/#{board}/full_image/#{filename}" when 'cgl', 'g', 'w' "//archive.rebeccablacktech.com/#{board}/full_image/#{filename}" when 'an', 'k', 'toy', 'x'