diff --git a/4chan_x.user.js b/4chan_x.user.js index bc5a5caab..3772ed544 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan x -// @version 2.33.6 +// @version 2.33.7 // @namespace aeosynth // @description Adds various features. // @copyright 2009-2011 James Campos @@ -23,7 +23,7 @@ * Copyright (c) 2009-2011 James Campos * Copyright (c) 2012 Nicolas Stepien * http://mayhemydg.github.com/4chan-x/ - * 4chan X 2.33.6 + * 4chan X 2.33.7 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation @@ -4281,6 +4281,7 @@ url += "#" + postID; } break; + case 'ck': case 'lit': url = "//fuuka.warosu.org/" + path; if (threadID && postID) { @@ -4954,7 +4955,7 @@ return $.globalEval(("(" + code + ")()").replace('_id_', bq.id)); }, namespace: '4chan_x.', - version: '2.33.6', + version: '2.33.7', callbacks: [], css: '\ /* dialog styling */\ diff --git a/Cakefile b/Cakefile index ee5762af2..27d2af83a 100644 --- a/Cakefile +++ b/Cakefile @@ -2,7 +2,7 @@ {exec} = require 'child_process' fs = require 'fs' -VERSION = '2.33.6' +VERSION = '2.33.7' HEADER = """ // ==UserScript== diff --git a/changelog b/changelog index cb8e24540..26ea54032 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,9 @@ master +2.33.7 +- Mayhem + Add /ck/ archive redirection. + 2.33.6 - Mayhem Update/fix archive redirection method. diff --git a/latest.js b/latest.js index 2f8a4082f..e1bebce4c 100644 --- a/latest.js +++ b/latest.js @@ -1 +1 @@ -postMessage({version:'2.33.6'},'*') \ No newline at end of file +postMessage({version:'2.33.7'},'*') \ No newline at end of file diff --git a/script.coffee b/script.coffee index 370a34574..31c274714 100644 --- a/script.coffee +++ b/script.coffee @@ -3357,7 +3357,7 @@ Redirect = url = "//nsfw.foolz.us/#{path}/" if threadID and postID url += "##{postID}" - when 'lit' + when 'ck', 'lit' url = "//fuuka.warosu.org/#{path}" if threadID and postID url += "#p#{postID}" @@ -3845,7 +3845,7 @@ Main = $.globalEval "(#{code})()".replace '_id_', bq.id namespace: '4chan_x.' - version: '2.33.6' + version: '2.33.7' callbacks: [] css: ' /* dialog styling */