Release 4chan X v1.10.4.2.
This commit is contained in:
parent
ecead5f7e8
commit
4305703a1c
@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
|
||||
|
||||
### v1.10.4
|
||||
|
||||
**v1.10.4.2** *(2015-03-09)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.2/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Fix bugs when posts are previewed before they appear in the index (by links to future posts).
|
||||
|
||||
**v1.10.4.1** *(2015-03-09)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.1/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Fix updater beeping on posts to not completely read thread.
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.10.4.1
|
||||
// @version 1.10.4.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.10.4.1
|
||||
// @version 1.10.4.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -395,7 +395,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.4.1',
|
||||
VERSION: '1.10.4.2',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -3672,7 +3672,7 @@
|
||||
threads.push(thread);
|
||||
}
|
||||
Index.nodes.push(threadRoot);
|
||||
if (!(thread.ID in thread.posts)) {
|
||||
if (!(thread.OP && !thread.OP.isFetchedQuote)) {
|
||||
posts.push(new Post($('.opContainer', threadRoot), thread, g.BOARD));
|
||||
}
|
||||
thread.setPage(Math.floor(i / Index.threadsNumPerPage) + 1);
|
||||
@ -3709,7 +3709,7 @@
|
||||
nodes = [];
|
||||
for (q = 0, len2 = lastReplies.length; q < len2; q++) {
|
||||
data = lastReplies[q];
|
||||
if (post = thread.posts[data.no]) {
|
||||
if ((post = thread.posts[data.no]) && !post.isFetchedQuote) {
|
||||
nodes.push(post.nodes.root);
|
||||
continue;
|
||||
}
|
||||
@ -4234,7 +4234,12 @@
|
||||
thread: function(board, data, full) {
|
||||
var OP, root;
|
||||
Build.spoilerRange[board] = data.custom_spoiler;
|
||||
if ((OP = board.posts[data.no]) && (root = OP.nodes.root.parentNode)) {
|
||||
if (OP = board.posts[data.no]) {
|
||||
if (OP.isFetchedQuote) {
|
||||
OP = null;
|
||||
}
|
||||
}
|
||||
if (OP && (root = OP.nodes.root.parentNode)) {
|
||||
$.rmAll(root);
|
||||
} else {
|
||||
root = $.el('div', {
|
||||
@ -5686,7 +5691,7 @@
|
||||
return this.catalogWatch();
|
||||
}
|
||||
this.catalogSet(g.BOARD);
|
||||
return Thread.callbacks.push({
|
||||
return Post.callbacks.push({
|
||||
name: 'Thread Hiding',
|
||||
cb: this.node
|
||||
});
|
||||
@ -5738,16 +5743,19 @@
|
||||
},
|
||||
node: function() {
|
||||
var data;
|
||||
if (this.isReply || this.isClone || this.isFetchedQuote) {
|
||||
return;
|
||||
}
|
||||
if (data = ThreadHiding.db.get({
|
||||
boardID: this.board.ID,
|
||||
threadID: this.ID
|
||||
})) {
|
||||
ThreadHiding.hide(this, data.makeStub);
|
||||
ThreadHiding.hide(this.thread, data.makeStub);
|
||||
}
|
||||
if (!Conf['Thread Hiding Buttons']) {
|
||||
return;
|
||||
}
|
||||
return $.prepend(this.OP.nodes.root, ThreadHiding.makeButton(this, 'hide'));
|
||||
return $.prepend(this.nodes.root, ThreadHiding.makeButton(this.thread, 'hide'));
|
||||
},
|
||||
onIndexBuild: function(nodes) {
|
||||
var k, len1, root, thread;
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.4.1
|
||||
// @version 1.10.4.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -394,7 +394,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.4.1',
|
||||
VERSION: '1.10.4.2',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -3671,7 +3671,7 @@
|
||||
threads.push(thread);
|
||||
}
|
||||
Index.nodes.push(threadRoot);
|
||||
if (!(thread.ID in thread.posts)) {
|
||||
if (!(thread.OP && !thread.OP.isFetchedQuote)) {
|
||||
posts.push(new Post($('.opContainer', threadRoot), thread, g.BOARD));
|
||||
}
|
||||
thread.setPage(Math.floor(i / Index.threadsNumPerPage) + 1);
|
||||
@ -3708,7 +3708,7 @@
|
||||
nodes = [];
|
||||
for (q = 0, len2 = lastReplies.length; q < len2; q++) {
|
||||
data = lastReplies[q];
|
||||
if (post = thread.posts[data.no]) {
|
||||
if ((post = thread.posts[data.no]) && !post.isFetchedQuote) {
|
||||
nodes.push(post.nodes.root);
|
||||
continue;
|
||||
}
|
||||
@ -4233,7 +4233,12 @@
|
||||
thread: function(board, data, full) {
|
||||
var OP, root;
|
||||
Build.spoilerRange[board] = data.custom_spoiler;
|
||||
if ((OP = board.posts[data.no]) && (root = OP.nodes.root.parentNode)) {
|
||||
if (OP = board.posts[data.no]) {
|
||||
if (OP.isFetchedQuote) {
|
||||
OP = null;
|
||||
}
|
||||
}
|
||||
if (OP && (root = OP.nodes.root.parentNode)) {
|
||||
$.rmAll(root);
|
||||
} else {
|
||||
root = $.el('div', {
|
||||
@ -5685,7 +5690,7 @@
|
||||
return this.catalogWatch();
|
||||
}
|
||||
this.catalogSet(g.BOARD);
|
||||
return Thread.callbacks.push({
|
||||
return Post.callbacks.push({
|
||||
name: 'Thread Hiding',
|
||||
cb: this.node
|
||||
});
|
||||
@ -5737,16 +5742,19 @@
|
||||
},
|
||||
node: function() {
|
||||
var data;
|
||||
if (this.isReply || this.isClone || this.isFetchedQuote) {
|
||||
return;
|
||||
}
|
||||
if (data = ThreadHiding.db.get({
|
||||
boardID: this.board.ID,
|
||||
threadID: this.ID
|
||||
})) {
|
||||
ThreadHiding.hide(this, data.makeStub);
|
||||
ThreadHiding.hide(this.thread, data.makeStub);
|
||||
}
|
||||
if (!Conf['Thread Hiding Buttons']) {
|
||||
return;
|
||||
}
|
||||
return $.prepend(this.OP.nodes.root, ThreadHiding.makeButton(this, 'hide'));
|
||||
return $.prepend(this.nodes.root, ThreadHiding.makeButton(this.thread, 'hide'));
|
||||
},
|
||||
onIndexBuild: function(nodes) {
|
||||
var k, len1, root, thread;
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.4.1
|
||||
// @version 1.10.4.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.4.1
|
||||
// @version 1.10.4.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -395,7 +395,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.4.1',
|
||||
VERSION: '1.10.4.2',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -3672,7 +3672,7 @@
|
||||
threads.push(thread);
|
||||
}
|
||||
Index.nodes.push(threadRoot);
|
||||
if (!(thread.ID in thread.posts)) {
|
||||
if (!(thread.OP && !thread.OP.isFetchedQuote)) {
|
||||
posts.push(new Post($('.opContainer', threadRoot), thread, g.BOARD));
|
||||
}
|
||||
thread.setPage(Math.floor(i / Index.threadsNumPerPage) + 1);
|
||||
@ -3709,7 +3709,7 @@
|
||||
nodes = [];
|
||||
for (q = 0, len2 = lastReplies.length; q < len2; q++) {
|
||||
data = lastReplies[q];
|
||||
if (post = thread.posts[data.no]) {
|
||||
if ((post = thread.posts[data.no]) && !post.isFetchedQuote) {
|
||||
nodes.push(post.nodes.root);
|
||||
continue;
|
||||
}
|
||||
@ -4234,7 +4234,12 @@
|
||||
thread: function(board, data, full) {
|
||||
var OP, root;
|
||||
Build.spoilerRange[board] = data.custom_spoiler;
|
||||
if ((OP = board.posts[data.no]) && (root = OP.nodes.root.parentNode)) {
|
||||
if (OP = board.posts[data.no]) {
|
||||
if (OP.isFetchedQuote) {
|
||||
OP = null;
|
||||
}
|
||||
}
|
||||
if (OP && (root = OP.nodes.root.parentNode)) {
|
||||
$.rmAll(root);
|
||||
} else {
|
||||
root = $.el('div', {
|
||||
@ -5686,7 +5691,7 @@
|
||||
return this.catalogWatch();
|
||||
}
|
||||
this.catalogSet(g.BOARD);
|
||||
return Thread.callbacks.push({
|
||||
return Post.callbacks.push({
|
||||
name: 'Thread Hiding',
|
||||
cb: this.node
|
||||
});
|
||||
@ -5738,16 +5743,19 @@
|
||||
},
|
||||
node: function() {
|
||||
var data;
|
||||
if (this.isReply || this.isClone || this.isFetchedQuote) {
|
||||
return;
|
||||
}
|
||||
if (data = ThreadHiding.db.get({
|
||||
boardID: this.board.ID,
|
||||
threadID: this.ID
|
||||
})) {
|
||||
ThreadHiding.hide(this, data.makeStub);
|
||||
ThreadHiding.hide(this.thread, data.makeStub);
|
||||
}
|
||||
if (!Conf['Thread Hiding Buttons']) {
|
||||
return;
|
||||
}
|
||||
return $.prepend(this.OP.nodes.root, ThreadHiding.makeButton(this, 'hide'));
|
||||
return $.prepend(this.nodes.root, ThreadHiding.makeButton(this.thread, 'hide'));
|
||||
},
|
||||
onIndexBuild: function(nodes) {
|
||||
var k, len1, root, thread;
|
||||
|
||||
Binary file not shown.
@ -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://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.4.1' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.4.2' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.4.1' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.4.2' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"version": "1.10.4.1",
|
||||
"date": "2015-03-09T12:22:32.151Z",
|
||||
"version": "1.10.4.2",
|
||||
"date": "2015-03-10T03:18:00.112Z",
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user