diff --git a/CHANGELOG.md b/CHANGELOG.md index 95aae0d09..24335fa7e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v1.7.16 +*2014-04-19* + **ccd0** - Another update to handle HTML changes. diff --git a/LICENSE b/LICENSE index 0bce4731f..08ee5e9bc 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.7.15 - 2014-04-19 +* 4chan X - Version 1.7.16 - 2014-04-19 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 663d2bea2..0ddc99079 100755 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.7.15 +// @version 1.7.16 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 74fe236e8..d79496dfd 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.7.15 +// @version 1.7.16 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.7.15 - 2014-04-19 +* 4chan X - Version 1.7.16 - 2014-04-19 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -371,7 +371,7 @@ doc = d.documentElement; g = { - VERSION: '1.7.15', + VERSION: '1.7.16', NAMESPACE: '4chan X.', boards: {} }; @@ -3204,7 +3204,11 @@ if (href[0] === '/') { continue; } - quote.href = "/" + boardID + "/thread/" + href; + if (href[0] === '#') { + quote.href = "/" + boardID + "/thread/" + threadID + href; + } else { + quote.href = "/" + boardID + "/thread/" + href; + } } return container; }, diff --git a/builds/crx.crx b/builds/crx.crx index b62784e69..c0e17fc46 100644 Binary files a/builds/crx.crx and b/builds/crx.crx differ diff --git a/builds/crx/manifest.json b/builds/crx/manifest.json index fdefa494a..19e7b513a 100755 --- a/builds/crx/manifest.json +++ b/builds/crx/manifest.json @@ -1,6 +1,6 @@ { "name": "4chan X", - "version": "1.7.15", + "version": "1.7.16", "manifest_version": 2, "description": "Cross-browser userscript for maximum lurking on 4chan.", "icons": { diff --git a/builds/crx/script.js b/builds/crx/script.js index e214c9794..42f202193 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.7.15 - 2014-04-19 +* 4chan X - Version 1.7.16 - 2014-04-19 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -347,7 +347,7 @@ doc = d.documentElement; g = { - VERSION: '1.7.15', + VERSION: '1.7.16', NAMESPACE: '4chan X.', boards: {} }; @@ -3245,7 +3245,11 @@ if (href[0] === '/') { continue; } - quote.href = "/" + boardID + "/thread/" + href; + if (href[0] === '#') { + quote.href = "/" + boardID + "/thread/" + threadID + href; + } else { + quote.href = "/" + boardID + "/thread/" + href; + } } return container; }, diff --git a/builds/updates.xml b/builds/updates.xml index 091f40c24..5f4392527 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index 0ee7d2cd7..c85da62f9 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "4chan-X", - "version": "1.7.15", + "version": "1.7.16", "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X",