From a0b374ef3ce4f43ff2619ab52e3319b12767f51c Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 27 Oct 2011 01:40:59 +0200 Subject: [PATCH] Update archives redirections. Close #343 --- 4chan_x.user.js | 2 ++ changelog | 2 +- script.coffee | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index acee9a4b5..aa559b9c5 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2709,7 +2709,9 @@ redirect = function() { var url; switch (g.BOARD) { + case 'diy': case 'g': + case 'pol': case 'sci': url = "http://archive.installgentoo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID; break; diff --git a/changelog b/changelog index d6022eeaf..7863bc30c 100644 --- a/changelog +++ b/changelog @@ -2,7 +2,7 @@ master - mayhem initiate 4chan X earlier automatically reload expanded pictures on error - update /sci/ archive redirection + update archives redirections for /diy/, /pol/ and /sci/ regular expressions based filter handle bans with the thread updater performance improvements diff --git a/script.coffee b/script.coffee index 4fe33e42f..eca173d15 100644 --- a/script.coffee +++ b/script.coffee @@ -2017,7 +2017,7 @@ Favicon = redirect = -> switch g.BOARD - when 'g', 'sci' + when 'diy', 'g', 'pol', 'sci' url = "http://archive.installgentoo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" when 'lit', 'tv' url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"