Release 4chan X v1.11.15.7.

This commit is contained in:
ccd0 2015-11-07 13:56:45 -08:00
parent a88db556b5
commit 50a0e2c82d
13 changed files with 60 additions and 57 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.15
**v1.11.15.7** *(2015-11-07)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.7/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix cleaning of post history on /trash/ and remove links to nonexistent internal archive.
**v1.11.15.6** *(2015-11-07)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.6/builds/4chan-X-noupdate.crx "Chromium version")]
- (desustorage, bui) Update archive list: Add /trash/.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.11.15.6
// @version 1.11.15.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.11.15.6
// @version 1.11.15.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -415,7 +415,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.15.6',
VERSION: '1.11.15.7',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1892,7 +1892,7 @@
return $.cache("//a.4cdn.org/" + boardID + "/threads.json", (function(_this) {
return function(e1) {
if (e1.target.status === 200) {
if (boardID === 'b' || boardID === 'f') {
if (boardID === 'b' || boardID === 'f' || boardID === 'trash') {
return _this.ajaxCleanParse(boardID, e1.target.response);
} else {
return $.cache("//a.4cdn.org/" + boardID + "/archive.json", function(e2) {
@ -2864,7 +2864,7 @@
}
}
if (/-expired/.test(t)) {
if (boardID !== 'b' && boardID !== 'f') {
if (boardID !== 'b' && boardID !== 'f' && boardID !== 'trash') {
a.href = "/" + boardID + "/archive";
} else {
return a.firstChild;
@ -3160,7 +3160,7 @@
Index = {
showHiddenThreads: false,
init: function() {
var anchorEntry, input, k, label, len1, len2, name, pinEntry, q, ref, ref1, ref2, ref3, ref4, ref5, refNavEntry, repliesEntry, select;
var anchorEntry, input, k, label, len1, len2, name, pinEntry, q, ref, ref1, ref2, ref3, ref4, ref5, ref6, refNavEntry, repliesEntry, select;
if (g.BOARD.ID === 'f' || !Conf['JSON Navigation'] || g.VIEW !== 'index') {
return;
}
@ -3244,7 +3244,7 @@
innerHTML: "<span class=\"brackets-wrap indexlink\"><a href=\"#index\">Index</a></span> <span class=\"brackets-wrap cataloglink\"><a href=\"#catalog\">Catalog</a></span> <span class=\"brackets-wrap archlistlink\"><a href=\"./archive\">Archive</a></span> <span class=\"brackets-wrap bottomlink\"><a href=\"#bottom\">Bottom</a></span> <span class=\"brackets-wrap\" id=\"index-last-refresh\"><a href=\"javascript:;\"><time title=\"Last index refresh\">...</time></a></span> <input type=\"search\" id=\"index-search\" class=\"field\" placeholder=\"Search\"><a id=\"index-search-clear\" href=\"javascript:;\" title=\"Clear search\">×</a><span id=\"hidden-label\" hidden> &mdash; <span id=\"hidden-count\"></span> <span id=\"hidden-toggle\">[<a href=\"javascript:;\">Show</a>]</span></span><select id=\"index-mode\" name=\"Index Mode\"><option disabled>Index Mode</option><option value=\"paged\">Paged</option><option value=\"infinite\">Infinite scrolling</option><option value=\"all pages\">All threads</option><option value=\"catalog\">Catalog</option></select><select id=\"index-sort\" name=\"Index Sort\"><option disabled>Index Sort</option><option value=\"bump\">Bump order</option><option value=\"lastreply\">Last reply</option><option value=\"birth\">Creation date</option><option value=\"replycount\">Reply count</option><option value=\"filecount\">File count</option></select><select id=\"index-size\" name=\"Index Size\"><option disabled>Image Size</option><option value=\"small\">Small</option><option value=\"large\">Large</option></select>"
});
$('.cataloglink a', this.navLinks).href = CatalogLinks.catalog();
if (g.BOARD.ID === 'b') {
if ((ref5 = g.BOARD.ID) === 'b' || ref5 === 'trash') {
$('.archlistlink', this.navLinks).hidden = true;
}
this.searchInput = $('#index-search', this.navLinks);
@ -3261,9 +3261,9 @@
$.on($('#index-search-clear', this.navLinks), 'click', this.clearSearch);
$.on($('#hidden-toggle a', this.navLinks), 'click', this.cb.toggleHiddenThreads);
$.on(this.selectMode, 'change', this.cb.mode);
ref5 = [this.selectMode, this.selectSort, this.selectSize];
for (q = 0, len2 = ref5.length; q < len2; q++) {
select = ref5[q];
ref6 = [this.selectMode, this.selectSort, this.selectSize];
for (q = 0, len2 = ref6.length; q < len2; q++) {
select = ref6[q];
select.value = Conf[select.name];
$.on(select, 'change', $.cb.value);
}
@ -3278,16 +3278,16 @@
$.asap((function() {
return $('.board > .thread > .postContainer', doc) || d.readyState !== 'loading';
}), function() {
var board, el, len3, len4, ref6, ref7, threadRoot, topNavPos, u, v;
var board, el, len3, len4, ref7, ref8, threadRoot, topNavPos, u, v;
if (!Main.isThisPageLegit()) {
return;
}
Index.hat = $('.board > .thread > img:first-child');
if (Index.hat) {
if (Index.nodes) {
ref6 = Index.nodes;
for (u = 0, len3 = ref6.length; u < len3; u++) {
threadRoot = ref6[u];
ref7 = Index.nodes;
for (u = 0, len3 = ref7.length; u < len3; u++) {
threadRoot = ref7[u];
$.prepend(threadRoot, Index.hat.cloneNode(false));
}
}
@ -3298,9 +3298,9 @@
$.replace(board, Index.root);
$.event('PostsInserted');
d.implementation.createDocument(null, null, null).appendChild(board);
ref7 = $$('.navLinks');
for (v = 0, len4 = ref7.length; v < len4; v++) {
el = ref7[v];
ref8 = $$('.navLinks');
for (v = 0, len4 = ref8.length; v < len4; v++) {
el = ref8[v];
$.rm(el);
}
$.rm($.id('ctrl-top'));
@ -17307,7 +17307,7 @@
if (g.VIEW === 'catalog' && g.BOARD.ID === 'f') {
return;
}
if (g.VIEW === 'archive' && ((ref1 = g.BOARD.ID) === 'b' || ref1 === 'f')) {
if (g.VIEW === 'archive' && ((ref1 = g.BOARD.ID) === 'b' || ref1 === 'f' || ref1 === 'trash')) {
return;
}
if (g.VIEW === 'thread') {

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.15.6
// @version 1.11.15.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -415,7 +415,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.15.6',
VERSION: '1.11.15.7',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1892,7 +1892,7 @@
return $.cache("//a.4cdn.org/" + boardID + "/threads.json", (function(_this) {
return function(e1) {
if (e1.target.status === 200) {
if (boardID === 'b' || boardID === 'f') {
if (boardID === 'b' || boardID === 'f' || boardID === 'trash') {
return _this.ajaxCleanParse(boardID, e1.target.response);
} else {
return $.cache("//a.4cdn.org/" + boardID + "/archive.json", function(e2) {
@ -2864,7 +2864,7 @@
}
}
if (/-expired/.test(t)) {
if (boardID !== 'b' && boardID !== 'f') {
if (boardID !== 'b' && boardID !== 'f' && boardID !== 'trash') {
a.href = "/" + boardID + "/archive";
} else {
return a.firstChild;
@ -3160,7 +3160,7 @@
Index = {
showHiddenThreads: false,
init: function() {
var anchorEntry, input, k, label, len1, len2, name, pinEntry, q, ref, ref1, ref2, ref3, ref4, ref5, refNavEntry, repliesEntry, select;
var anchorEntry, input, k, label, len1, len2, name, pinEntry, q, ref, ref1, ref2, ref3, ref4, ref5, ref6, refNavEntry, repliesEntry, select;
if (g.BOARD.ID === 'f' || !Conf['JSON Navigation'] || g.VIEW !== 'index') {
return;
}
@ -3244,7 +3244,7 @@
innerHTML: "<span class=\"brackets-wrap indexlink\"><a href=\"#index\">Index</a></span> <span class=\"brackets-wrap cataloglink\"><a href=\"#catalog\">Catalog</a></span> <span class=\"brackets-wrap archlistlink\"><a href=\"./archive\">Archive</a></span> <span class=\"brackets-wrap bottomlink\"><a href=\"#bottom\">Bottom</a></span> <span class=\"brackets-wrap\" id=\"index-last-refresh\"><a href=\"javascript:;\"><time title=\"Last index refresh\">...</time></a></span> <input type=\"search\" id=\"index-search\" class=\"field\" placeholder=\"Search\"><a id=\"index-search-clear\" href=\"javascript:;\" title=\"Clear search\">×</a><span id=\"hidden-label\" hidden> &mdash; <span id=\"hidden-count\"></span> <span id=\"hidden-toggle\">[<a href=\"javascript:;\">Show</a>]</span></span><select id=\"index-mode\" name=\"Index Mode\"><option disabled>Index Mode</option><option value=\"paged\">Paged</option><option value=\"infinite\">Infinite scrolling</option><option value=\"all pages\">All threads</option><option value=\"catalog\">Catalog</option></select><select id=\"index-sort\" name=\"Index Sort\"><option disabled>Index Sort</option><option value=\"bump\">Bump order</option><option value=\"lastreply\">Last reply</option><option value=\"birth\">Creation date</option><option value=\"replycount\">Reply count</option><option value=\"filecount\">File count</option></select><select id=\"index-size\" name=\"Index Size\"><option disabled>Image Size</option><option value=\"small\">Small</option><option value=\"large\">Large</option></select>"
});
$('.cataloglink a', this.navLinks).href = CatalogLinks.catalog();
if (g.BOARD.ID === 'b') {
if ((ref5 = g.BOARD.ID) === 'b' || ref5 === 'trash') {
$('.archlistlink', this.navLinks).hidden = true;
}
this.searchInput = $('#index-search', this.navLinks);
@ -3261,9 +3261,9 @@
$.on($('#index-search-clear', this.navLinks), 'click', this.clearSearch);
$.on($('#hidden-toggle a', this.navLinks), 'click', this.cb.toggleHiddenThreads);
$.on(this.selectMode, 'change', this.cb.mode);
ref5 = [this.selectMode, this.selectSort, this.selectSize];
for (q = 0, len2 = ref5.length; q < len2; q++) {
select = ref5[q];
ref6 = [this.selectMode, this.selectSort, this.selectSize];
for (q = 0, len2 = ref6.length; q < len2; q++) {
select = ref6[q];
select.value = Conf[select.name];
$.on(select, 'change', $.cb.value);
}
@ -3278,16 +3278,16 @@
$.asap((function() {
return $('.board > .thread > .postContainer', doc) || d.readyState !== 'loading';
}), function() {
var board, el, len3, len4, ref6, ref7, threadRoot, topNavPos, u, v;
var board, el, len3, len4, ref7, ref8, threadRoot, topNavPos, u, v;
if (!Main.isThisPageLegit()) {
return;
}
Index.hat = $('.board > .thread > img:first-child');
if (Index.hat) {
if (Index.nodes) {
ref6 = Index.nodes;
for (u = 0, len3 = ref6.length; u < len3; u++) {
threadRoot = ref6[u];
ref7 = Index.nodes;
for (u = 0, len3 = ref7.length; u < len3; u++) {
threadRoot = ref7[u];
$.prepend(threadRoot, Index.hat.cloneNode(false));
}
}
@ -3298,9 +3298,9 @@
$.replace(board, Index.root);
$.event('PostsInserted');
d.implementation.createDocument(null, null, null).appendChild(board);
ref7 = $$('.navLinks');
for (v = 0, len4 = ref7.length; v < len4; v++) {
el = ref7[v];
ref8 = $$('.navLinks');
for (v = 0, len4 = ref8.length; v < len4; v++) {
el = ref8[v];
$.rm(el);
}
$.rm($.id('ctrl-top'));
@ -17307,7 +17307,7 @@
if (g.VIEW === 'catalog' && g.BOARD.ID === 'f') {
return;
}
if (g.VIEW === 'archive' && ((ref1 = g.BOARD.ID) === 'b' || ref1 === 'f')) {
if (g.VIEW === 'archive' && ((ref1 = g.BOARD.ID) === 'b' || ref1 === 'f' || ref1 === 'trash')) {
return;
}
if (g.VIEW === 'thread') {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.11.15.6
// @version 1.11.15.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.15.6
// @version 1.11.15.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -415,7 +415,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.15.6',
VERSION: '1.11.15.7',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1892,7 +1892,7 @@
return $.cache("//a.4cdn.org/" + boardID + "/threads.json", (function(_this) {
return function(e1) {
if (e1.target.status === 200) {
if (boardID === 'b' || boardID === 'f') {
if (boardID === 'b' || boardID === 'f' || boardID === 'trash') {
return _this.ajaxCleanParse(boardID, e1.target.response);
} else {
return $.cache("//a.4cdn.org/" + boardID + "/archive.json", function(e2) {
@ -2864,7 +2864,7 @@
}
}
if (/-expired/.test(t)) {
if (boardID !== 'b' && boardID !== 'f') {
if (boardID !== 'b' && boardID !== 'f' && boardID !== 'trash') {
a.href = "/" + boardID + "/archive";
} else {
return a.firstChild;
@ -3160,7 +3160,7 @@
Index = {
showHiddenThreads: false,
init: function() {
var anchorEntry, input, k, label, len1, len2, name, pinEntry, q, ref, ref1, ref2, ref3, ref4, ref5, refNavEntry, repliesEntry, select;
var anchorEntry, input, k, label, len1, len2, name, pinEntry, q, ref, ref1, ref2, ref3, ref4, ref5, ref6, refNavEntry, repliesEntry, select;
if (g.BOARD.ID === 'f' || !Conf['JSON Navigation'] || g.VIEW !== 'index') {
return;
}
@ -3244,7 +3244,7 @@
innerHTML: "<span class=\"brackets-wrap indexlink\"><a href=\"#index\">Index</a></span> <span class=\"brackets-wrap cataloglink\"><a href=\"#catalog\">Catalog</a></span> <span class=\"brackets-wrap archlistlink\"><a href=\"./archive\">Archive</a></span> <span class=\"brackets-wrap bottomlink\"><a href=\"#bottom\">Bottom</a></span> <span class=\"brackets-wrap\" id=\"index-last-refresh\"><a href=\"javascript:;\"><time title=\"Last index refresh\">...</time></a></span> <input type=\"search\" id=\"index-search\" class=\"field\" placeholder=\"Search\"><a id=\"index-search-clear\" href=\"javascript:;\" title=\"Clear search\">×</a><span id=\"hidden-label\" hidden> &mdash; <span id=\"hidden-count\"></span> <span id=\"hidden-toggle\">[<a href=\"javascript:;\">Show</a>]</span></span><select id=\"index-mode\" name=\"Index Mode\"><option disabled>Index Mode</option><option value=\"paged\">Paged</option><option value=\"infinite\">Infinite scrolling</option><option value=\"all pages\">All threads</option><option value=\"catalog\">Catalog</option></select><select id=\"index-sort\" name=\"Index Sort\"><option disabled>Index Sort</option><option value=\"bump\">Bump order</option><option value=\"lastreply\">Last reply</option><option value=\"birth\">Creation date</option><option value=\"replycount\">Reply count</option><option value=\"filecount\">File count</option></select><select id=\"index-size\" name=\"Index Size\"><option disabled>Image Size</option><option value=\"small\">Small</option><option value=\"large\">Large</option></select>"
});
$('.cataloglink a', this.navLinks).href = CatalogLinks.catalog();
if (g.BOARD.ID === 'b') {
if ((ref5 = g.BOARD.ID) === 'b' || ref5 === 'trash') {
$('.archlistlink', this.navLinks).hidden = true;
}
this.searchInput = $('#index-search', this.navLinks);
@ -3261,9 +3261,9 @@
$.on($('#index-search-clear', this.navLinks), 'click', this.clearSearch);
$.on($('#hidden-toggle a', this.navLinks), 'click', this.cb.toggleHiddenThreads);
$.on(this.selectMode, 'change', this.cb.mode);
ref5 = [this.selectMode, this.selectSort, this.selectSize];
for (q = 0, len2 = ref5.length; q < len2; q++) {
select = ref5[q];
ref6 = [this.selectMode, this.selectSort, this.selectSize];
for (q = 0, len2 = ref6.length; q < len2; q++) {
select = ref6[q];
select.value = Conf[select.name];
$.on(select, 'change', $.cb.value);
}
@ -3278,16 +3278,16 @@
$.asap((function() {
return $('.board > .thread > .postContainer', doc) || d.readyState !== 'loading';
}), function() {
var board, el, len3, len4, ref6, ref7, threadRoot, topNavPos, u, v;
var board, el, len3, len4, ref7, ref8, threadRoot, topNavPos, u, v;
if (!Main.isThisPageLegit()) {
return;
}
Index.hat = $('.board > .thread > img:first-child');
if (Index.hat) {
if (Index.nodes) {
ref6 = Index.nodes;
for (u = 0, len3 = ref6.length; u < len3; u++) {
threadRoot = ref6[u];
ref7 = Index.nodes;
for (u = 0, len3 = ref7.length; u < len3; u++) {
threadRoot = ref7[u];
$.prepend(threadRoot, Index.hat.cloneNode(false));
}
}
@ -3298,9 +3298,9 @@
$.replace(board, Index.root);
$.event('PostsInserted');
d.implementation.createDocument(null, null, null).appendChild(board);
ref7 = $$('.navLinks');
for (v = 0, len4 = ref7.length; v < len4; v++) {
el = ref7[v];
ref8 = $$('.navLinks');
for (v = 0, len4 = ref8.length; v < len4; v++) {
el = ref8[v];
$.rm(el);
}
$.rm($.id('ctrl-top'));
@ -17307,7 +17307,7 @@
if (g.VIEW === 'catalog' && g.BOARD.ID === 'f') {
return;
}
if (g.VIEW === 'archive' && ((ref1 = g.BOARD.ID) === 'b' || ref1 === 'f')) {
if (g.VIEW === 'archive' && ((ref1 = g.BOARD.ID) === 'b' || ref1 === 'f' || ref1 === 'trash')) {
return;
}
if (g.VIEW === 'thread') {

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.15.6' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.15.7' />
</app>
</gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.15.6' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.15.7' />
</app>
</gupdate>

View File

@ -1,4 +1,4 @@
{
"version": "1.11.15.6",
"date": "2015-11-07T16:34:48.852Z"
"version": "1.11.15.7",
"date": "2015-11-07T21:55:38.769Z"
}