From b73c3d11eb6b72253abc4890ca095e3df70a81d1 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 30 Oct 2011 22:03:53 +0100 Subject: [PATCH] Update archive redirection: easymodo is gone, shorter url for installgentoo. --- 4chan_x.user.js | 6 ++---- script.coffee | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 3579a1d56..21ab732bb 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2728,7 +2728,7 @@ case 'g': case 'pol': case 'sci': - url = "http://archive.installgentoo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID; + url = "http://archive.installgentoo.net/" + g.BOARD + "/thread/" + g.THREAD_ID; break; case 'lit': case 'tv': @@ -2736,9 +2736,7 @@ break; case 'a': case 'jp': - case 'm': - case 'tg': - url = "http://archive.easymodo.net/" + g.BOARD + "/thread/" + g.THREAD_ID; + url = "http://archive.foolz.us/" + g.BOARD + "/thread/" + g.THREAD_ID; break; case '3': case 'adv': diff --git a/script.coffee b/script.coffee index 4ddfbb0d7..616d3ac5b 100644 --- a/script.coffee +++ b/script.coffee @@ -2035,11 +2035,11 @@ Favicon = redirect = -> switch g.BOARD when 'diy', 'g', 'pol', 'sci' - url = "http://archive.installgentoo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" + url = "http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}" when 'lit', 'tv' url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" - when 'a', 'jp', 'm', 'tg' - url = "http://archive.easymodo.net/#{g.BOARD}/thread/#{g.THREAD_ID}" + when 'a', 'jp' + url = "http://archive.foolz.us/#{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' url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}" else