From fd74e31ecf95a30de27ba3ca9bae8a7a4836e0bf Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 19 Nov 2011 13:42:53 -0800 Subject: [PATCH] update archives, close #401 --- 4chan_x.user.js | 4 ++++ script.coffee | 2 ++ 2 files changed, 6 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 70328a4da..c7ca64a5c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2660,6 +2660,10 @@ case 'lit': url = "http://archive.gentoomen.org/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID; break; + case 'g': + case 'sci': + url = "http://archive.installgentoo.net/" + g.BOARD + "/thread/" + g.THREAD_ID; + break; case '3': case 'adv': case 'an': diff --git a/script.coffee b/script.coffee index b1f7cb2e5..dc1b5346b 100644 --- a/script.coffee +++ b/script.coffee @@ -2044,6 +2044,8 @@ 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 'g', 'sci' + url = "http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}" when '3', 'adv', 'an', 'ck', 'co', 'diy', '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