From a3885eb4fc7994cd64ed714e4103b82f3633f640 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 3 Sep 2012 21:35:25 +0200 Subject: [PATCH] Add archived image redirection for rebeccablacktech. --- 4chan_x.user.js | 4 ++++ changelog | 2 +- script.coffee | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 1ae7311b9..f33125dad 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4527,6 +4527,10 @@ return "//archive.foolz.us/" + board + "/full_image/" + filename; case 'u': return "//nsfw.foolz.us/" + board + "/full_image/" + filename; + case 'cgl': + case 'g': + case 'w': + return "//archive.rebeccablacktech.com/" + board + "/full_image/" + filename; case 'an': case 'k': case 'toy': diff --git a/changelog b/changelog index 0857cc1a1..63f7dc44f 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,6 @@ master - Mayhem - Add /an/, /k/, /toy/ and /x/ archived image redirection. + Add /an/, /cgl/, /g/, /k/, /toy/, /w/ 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 c342d0bf3..92abc83e3 100644 --- a/script.coffee +++ b/script.coffee @@ -3598,8 +3598,8 @@ Redirect = "//archive.foolz.us/#{board}/full_image/#{filename}" when 'u' "//nsfw.foolz.us/#{board}/full_image/#{filename}" - # when 'cgl', 'g', 'w' - # "//archive.rebeccablacktech.com/#{board}/full_image/#{filename}" + 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 'e'