Release 4chan X v1.13.11.2.
This commit is contained in:
parent
7a41c7462e
commit
6ba017d898
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
### v1.13.11
|
### v1.13.11
|
||||||
|
|
||||||
|
**v1.13.11.2** *(2017-08-12)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.2/builds/4chan-X-noupdate.crx)]
|
||||||
|
- Last Long Reply order will now ignore hidden and filtered replies.
|
||||||
|
|
||||||
**v1.13.11.1** *(2017-08-10)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.1/builds/4chan-X-noupdate.crx)]
|
**v1.13.11.1** *(2017-08-10)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.1/builds/4chan-X-noupdate.crx)]
|
||||||
- Merge v1.13.10.6: Disable 'Redirect to HTTPS' on platforms where we use localStorage for saving settings.
|
- Merge v1.13.10.6: Disable 'Redirect to HTTPS' on platforms where we use localStorage for saving settings.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.13.11.1
|
// @version 1.13.11.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.13.11.1
|
// @version 1.13.11.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -153,7 +153,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.13.11.1',
|
VERSION: '1.13.11.2',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -10368,6 +10368,9 @@ Index = (function() {
|
|||||||
return Index.parsedThreads[threadID].isHidden;
|
return Index.parsedThreads[threadID].isHidden;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
isHiddenReply: function(threadID, replyData) {
|
||||||
|
return PostHiding.isHidden(g.BOARD.ID, threadID, replyData.no) || Filter.isHidden(Build.parseJSON(replyData, g.BOARD.ID));
|
||||||
|
},
|
||||||
buildThreads: function(threadIDs, isCatalog) {
|
buildThreads: function(threadIDs, isCatalog) {
|
||||||
var ID, OP, err, errors, isStale, k, len1, newPosts, newThreads, obj, thread, threadData, threads;
|
var ID, OP, err, errors, isStale, k, len1, newPosts, newThreads, obj, thread, threadData, threads;
|
||||||
threads = [];
|
threads = [];
|
||||||
@ -10502,10 +10505,7 @@ Index = (function() {
|
|||||||
replies = [];
|
replies = [];
|
||||||
for (k = 0, len1 = lastReplies.length; k < len1; k++) {
|
for (k = 0, len1 = lastReplies.length; k < len1; k++) {
|
||||||
data = lastReplies[k];
|
data = lastReplies[k];
|
||||||
if (PostHiding.isHidden(g.BOARD.ID, thread.ID, data.no)) {
|
if (Index.isHiddenReply(thread.ID, data)) {
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (Filter.isHidden(Build.parseJSON(data, g.BOARD.ID))) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
reply = Build.catalogReply(thread, data);
|
reply = Build.catalogReply(thread, data);
|
||||||
@ -10520,12 +10520,13 @@ Index = (function() {
|
|||||||
$.add(thread.OP.nodes.post, nodes.replies);
|
$.add(thread.OP.nodes.post, nodes.replies);
|
||||||
},
|
},
|
||||||
sort: function() {
|
sort: function() {
|
||||||
var lastlong, liveThreadData, liveThreadIDs, threadIDs;
|
var lastlong, lastlongD, liveThreadData, liveThreadIDs, thread, threadIDs;
|
||||||
liveThreadIDs = Index.liveThreadIDs, liveThreadData = Index.liveThreadData;
|
liveThreadIDs = Index.liveThreadIDs, liveThreadData = Index.liveThreadData;
|
||||||
if (!liveThreadData) {
|
if (!liveThreadData) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Index.sortedThreadIDs = (function() {
|
Index.sortedThreadIDs = (function() {
|
||||||
|
var k, len1;
|
||||||
switch (Index.currentSort.replace(/-rev$/, '')) {
|
switch (Index.currentSort.replace(/-rev$/, '')) {
|
||||||
case 'lastreply':
|
case 'lastreply':
|
||||||
return slice.call(liveThreadData).sort(function(a, b) {
|
return slice.call(liveThreadData).sort(function(a, b) {
|
||||||
@ -10546,6 +10547,9 @@ Index = (function() {
|
|||||||
ref = thread.last_replies || [];
|
ref = thread.last_replies || [];
|
||||||
for (i = k = ref.length - 1; k >= 0; i = k += -1) {
|
for (i = k = ref.length - 1; k >= 0; i = k += -1) {
|
||||||
r = ref[i];
|
r = ref[i];
|
||||||
|
if (Index.isHiddenReply(thread.no, r)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
len = r.com ? Build.parseComment(r.com).replace(/[^a-z]/ig, '').length : 0;
|
len = r.com ? Build.parseComment(r.com).replace(/[^a-z]/ig, '').length : 0;
|
||||||
if (len >= Index.lastLongThresholds[+(!!r.ext)]) {
|
if (len >= Index.lastLongThresholds[+(!!r.ext)]) {
|
||||||
return r;
|
return r;
|
||||||
@ -10557,8 +10561,13 @@ Index = (function() {
|
|||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
lastlongD = {};
|
||||||
|
for (k = 0, len1 = liveThreadData.length; k < len1; k++) {
|
||||||
|
thread = liveThreadData[k];
|
||||||
|
lastlongD[thread.no] = lastlong(thread).no;
|
||||||
|
}
|
||||||
return slice.call(liveThreadData).sort(function(a, b) {
|
return slice.call(liveThreadData).sort(function(a, b) {
|
||||||
return lastlong(b).no - lastlong(a).no;
|
return lastlongD[b.no] - lastlongD[a.no];
|
||||||
}).map(function(post) {
|
}).map(function(post) {
|
||||||
return post.no;
|
return post.no;
|
||||||
});
|
});
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.13.11.1
|
// @version 1.13.11.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -153,7 +153,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.13.11.1',
|
VERSION: '1.13.11.2',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -10368,6 +10368,9 @@ Index = (function() {
|
|||||||
return Index.parsedThreads[threadID].isHidden;
|
return Index.parsedThreads[threadID].isHidden;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
isHiddenReply: function(threadID, replyData) {
|
||||||
|
return PostHiding.isHidden(g.BOARD.ID, threadID, replyData.no) || Filter.isHidden(Build.parseJSON(replyData, g.BOARD.ID));
|
||||||
|
},
|
||||||
buildThreads: function(threadIDs, isCatalog) {
|
buildThreads: function(threadIDs, isCatalog) {
|
||||||
var ID, OP, err, errors, isStale, k, len1, newPosts, newThreads, obj, thread, threadData, threads;
|
var ID, OP, err, errors, isStale, k, len1, newPosts, newThreads, obj, thread, threadData, threads;
|
||||||
threads = [];
|
threads = [];
|
||||||
@ -10502,10 +10505,7 @@ Index = (function() {
|
|||||||
replies = [];
|
replies = [];
|
||||||
for (k = 0, len1 = lastReplies.length; k < len1; k++) {
|
for (k = 0, len1 = lastReplies.length; k < len1; k++) {
|
||||||
data = lastReplies[k];
|
data = lastReplies[k];
|
||||||
if (PostHiding.isHidden(g.BOARD.ID, thread.ID, data.no)) {
|
if (Index.isHiddenReply(thread.ID, data)) {
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (Filter.isHidden(Build.parseJSON(data, g.BOARD.ID))) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
reply = Build.catalogReply(thread, data);
|
reply = Build.catalogReply(thread, data);
|
||||||
@ -10520,12 +10520,13 @@ Index = (function() {
|
|||||||
$.add(thread.OP.nodes.post, nodes.replies);
|
$.add(thread.OP.nodes.post, nodes.replies);
|
||||||
},
|
},
|
||||||
sort: function() {
|
sort: function() {
|
||||||
var lastlong, liveThreadData, liveThreadIDs, threadIDs;
|
var lastlong, lastlongD, liveThreadData, liveThreadIDs, thread, threadIDs;
|
||||||
liveThreadIDs = Index.liveThreadIDs, liveThreadData = Index.liveThreadData;
|
liveThreadIDs = Index.liveThreadIDs, liveThreadData = Index.liveThreadData;
|
||||||
if (!liveThreadData) {
|
if (!liveThreadData) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Index.sortedThreadIDs = (function() {
|
Index.sortedThreadIDs = (function() {
|
||||||
|
var k, len1;
|
||||||
switch (Index.currentSort.replace(/-rev$/, '')) {
|
switch (Index.currentSort.replace(/-rev$/, '')) {
|
||||||
case 'lastreply':
|
case 'lastreply':
|
||||||
return slice.call(liveThreadData).sort(function(a, b) {
|
return slice.call(liveThreadData).sort(function(a, b) {
|
||||||
@ -10546,6 +10547,9 @@ Index = (function() {
|
|||||||
ref = thread.last_replies || [];
|
ref = thread.last_replies || [];
|
||||||
for (i = k = ref.length - 1; k >= 0; i = k += -1) {
|
for (i = k = ref.length - 1; k >= 0; i = k += -1) {
|
||||||
r = ref[i];
|
r = ref[i];
|
||||||
|
if (Index.isHiddenReply(thread.no, r)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
len = r.com ? Build.parseComment(r.com).replace(/[^a-z]/ig, '').length : 0;
|
len = r.com ? Build.parseComment(r.com).replace(/[^a-z]/ig, '').length : 0;
|
||||||
if (len >= Index.lastLongThresholds[+(!!r.ext)]) {
|
if (len >= Index.lastLongThresholds[+(!!r.ext)]) {
|
||||||
return r;
|
return r;
|
||||||
@ -10557,8 +10561,13 @@ Index = (function() {
|
|||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
lastlongD = {};
|
||||||
|
for (k = 0, len1 = liveThreadData.length; k < len1; k++) {
|
||||||
|
thread = liveThreadData[k];
|
||||||
|
lastlongD[thread.no] = lastlong(thread).no;
|
||||||
|
}
|
||||||
return slice.call(liveThreadData).sort(function(a, b) {
|
return slice.call(liveThreadData).sort(function(a, b) {
|
||||||
return lastlong(b).no - lastlong(a).no;
|
return lastlongD[b.no] - lastlongD[a.no];
|
||||||
}).map(function(post) {
|
}).map(function(post) {
|
||||||
return post.no;
|
return post.no;
|
||||||
});
|
});
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.13.11.1
|
// @version 1.13.11.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.13.11.1
|
// @version 1.13.11.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -153,7 +153,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.13.11.1',
|
VERSION: '1.13.11.2',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -10368,6 +10368,9 @@ Index = (function() {
|
|||||||
return Index.parsedThreads[threadID].isHidden;
|
return Index.parsedThreads[threadID].isHidden;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
isHiddenReply: function(threadID, replyData) {
|
||||||
|
return PostHiding.isHidden(g.BOARD.ID, threadID, replyData.no) || Filter.isHidden(Build.parseJSON(replyData, g.BOARD.ID));
|
||||||
|
},
|
||||||
buildThreads: function(threadIDs, isCatalog) {
|
buildThreads: function(threadIDs, isCatalog) {
|
||||||
var ID, OP, err, errors, isStale, k, len1, newPosts, newThreads, obj, thread, threadData, threads;
|
var ID, OP, err, errors, isStale, k, len1, newPosts, newThreads, obj, thread, threadData, threads;
|
||||||
threads = [];
|
threads = [];
|
||||||
@ -10502,10 +10505,7 @@ Index = (function() {
|
|||||||
replies = [];
|
replies = [];
|
||||||
for (k = 0, len1 = lastReplies.length; k < len1; k++) {
|
for (k = 0, len1 = lastReplies.length; k < len1; k++) {
|
||||||
data = lastReplies[k];
|
data = lastReplies[k];
|
||||||
if (PostHiding.isHidden(g.BOARD.ID, thread.ID, data.no)) {
|
if (Index.isHiddenReply(thread.ID, data)) {
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (Filter.isHidden(Build.parseJSON(data, g.BOARD.ID))) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
reply = Build.catalogReply(thread, data);
|
reply = Build.catalogReply(thread, data);
|
||||||
@ -10520,12 +10520,13 @@ Index = (function() {
|
|||||||
$.add(thread.OP.nodes.post, nodes.replies);
|
$.add(thread.OP.nodes.post, nodes.replies);
|
||||||
},
|
},
|
||||||
sort: function() {
|
sort: function() {
|
||||||
var lastlong, liveThreadData, liveThreadIDs, threadIDs;
|
var lastlong, lastlongD, liveThreadData, liveThreadIDs, thread, threadIDs;
|
||||||
liveThreadIDs = Index.liveThreadIDs, liveThreadData = Index.liveThreadData;
|
liveThreadIDs = Index.liveThreadIDs, liveThreadData = Index.liveThreadData;
|
||||||
if (!liveThreadData) {
|
if (!liveThreadData) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Index.sortedThreadIDs = (function() {
|
Index.sortedThreadIDs = (function() {
|
||||||
|
var k, len1;
|
||||||
switch (Index.currentSort.replace(/-rev$/, '')) {
|
switch (Index.currentSort.replace(/-rev$/, '')) {
|
||||||
case 'lastreply':
|
case 'lastreply':
|
||||||
return slice.call(liveThreadData).sort(function(a, b) {
|
return slice.call(liveThreadData).sort(function(a, b) {
|
||||||
@ -10546,6 +10547,9 @@ Index = (function() {
|
|||||||
ref = thread.last_replies || [];
|
ref = thread.last_replies || [];
|
||||||
for (i = k = ref.length - 1; k >= 0; i = k += -1) {
|
for (i = k = ref.length - 1; k >= 0; i = k += -1) {
|
||||||
r = ref[i];
|
r = ref[i];
|
||||||
|
if (Index.isHiddenReply(thread.no, r)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
len = r.com ? Build.parseComment(r.com).replace(/[^a-z]/ig, '').length : 0;
|
len = r.com ? Build.parseComment(r.com).replace(/[^a-z]/ig, '').length : 0;
|
||||||
if (len >= Index.lastLongThresholds[+(!!r.ext)]) {
|
if (len >= Index.lastLongThresholds[+(!!r.ext)]) {
|
||||||
return r;
|
return r;
|
||||||
@ -10557,8 +10561,13 @@ Index = (function() {
|
|||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
lastlongD = {};
|
||||||
|
for (k = 0, len1 = liveThreadData.length; k < len1; k++) {
|
||||||
|
thread = liveThreadData[k];
|
||||||
|
lastlongD[thread.no] = lastlong(thread).no;
|
||||||
|
}
|
||||||
return slice.call(liveThreadData).sort(function(a, b) {
|
return slice.call(liveThreadData).sort(function(a, b) {
|
||||||
return lastlong(b).no - lastlong(a).no;
|
return lastlongD[b.no] - lastlongD[a.no];
|
||||||
}).map(function(post) {
|
}).map(function(post) {
|
||||||
return post.no;
|
return post.no;
|
||||||
});
|
});
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.11.1' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.11.2' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.11.1' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.11.2' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.13.11.1",
|
"version": "1.13.11.2",
|
||||||
"date": "2017-08-10T13:42:33.033Z"
|
"date": "2017-08-12T17:44:29.833Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user