From bc4e5a2d992aa8fbfd37e0bc6055f90dad8fcaa5 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 6 Nov 2011 19:51:29 -0800 Subject: [PATCH] update archives fix #379 --- 4chan_x.user.js | 2 +- script.coffee | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 9e82f892e..855c8d76b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2732,7 +2732,6 @@ break; case 'diy': case 'g': - case 'pol': case 'sci': url = "http://archive.installgentoo.net/" + g.BOARD + "/thread/" + g.THREAD_ID; break; @@ -2750,6 +2749,7 @@ case 'o': case 'p': case 'po': + case 'pol': case 'soc': case 'sp': case 'toy': diff --git a/script.coffee b/script.coffee index 78049db6f..1f7e7b52d 100644 --- a/script.coffee +++ b/script.coffee @@ -2033,9 +2033,9 @@ redirect = -> url = "http://archive.foolz.us/#{g.BOARD}/thread/#{g.THREAD_ID}" when 'lit' url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" - when 'diy', 'g', 'pol', 'sci' + when 'diy', 'g', 'sci' url = "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', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x' + when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x' url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}" else url = "http://boards.4chan.org/#{g.BOARD}"