From fcc0d61f723b8e04d267777e7078e72fae98e174 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 29 Dec 2011 02:08:52 +0100 Subject: [PATCH] Add /lit/ archive redirection. --- 4chan_x.user.js | 4 +++- script.coffee | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index c526dc86a..c3d47f01c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2850,7 +2850,9 @@ case 'tg': case 'tv': case 'u': - return "http://archive.foolz.us/" + g.BOARD + "/thread/" + g.THREAD_ID; + return "http://archive.foolz.us/" + g.BOARD + "/thread/" + g.THREAD_ID + "/"; + case 'lit': + return "http://fuuka.warosu.org/" + g.BOARD + "/thread/" + g.THREAD_ID; case 'diy': case 'g': case 'sci': diff --git a/script.coffee b/script.coffee index eb3434272..3243d802c 100644 --- a/script.coffee +++ b/script.coffee @@ -2236,7 +2236,9 @@ redirect = thread: -> switch g.BOARD when 'a', 'jp', 'm', 'tg', 'tv', 'u' - "http://archive.foolz.us/#{g.BOARD}/thread/#{g.THREAD_ID}" + "http://archive.foolz.us/#{g.BOARD}/thread/#{g.THREAD_ID}/" + when 'lit' + "http://fuuka.warosu.org/#{g.BOARD}/thread/#{g.THREAD_ID}" when 'diy', 'g', 'sci' "http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}" when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x'