diff --git a/4chan_x.user.js b/4chan_x.user.js index dd4bdec98..905f1f4e1 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3660,6 +3660,8 @@ case 'k': case 'sci': return "https://archive.installgentoo.net/" + board + "/" + mode + "/" + id; + case 'x': + return "http://archive.xfiles.to/" + board + "/" + mode + "/" + id; default: if (mode === 'thread') { return "//boards.4chan.org/" + board + "/"; diff --git a/changelog b/changelog index 510c13618..66d61f6df 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ master +- Mayhem + Add /x/ archive redirection. 2.31.1 - Mayhem diff --git a/script.coffee b/script.coffee index cb84a2add..91e4597a7 100644 --- a/script.coffee +++ b/script.coffee @@ -2782,6 +2782,8 @@ Redirect = "http://fuuka.warosu.org/#{board}/#{mode}/#{id}" when 'diy', 'g', 'k', 'sci' "https://archive.installgentoo.net/#{board}/#{mode}/#{id}" + when 'x' + "http://archive.xfiles.to/#{board}/#{mode}/#{id}" else if mode is 'thread' "//boards.4chan.org/#{board}/"