Release 4chan X v1.13.0.17.
This commit is contained in:
parent
f1c15e12c7
commit
587c079a43
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
## v1.13.0
|
## v1.13.0
|
||||||
|
|
||||||
|
**v1.13.0.17** *(2016-10-30)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.17/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.17/builds/4chan-X-noupdate.crx)]
|
||||||
|
- Various regression and bug fixes.
|
||||||
|
|
||||||
**v1.13.0.16** *(2016-10-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.16/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.16/builds/4chan-X-noupdate.crx)]
|
**v1.13.0.16** *(2016-10-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.16/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.16/builds/4chan-X-noupdate.crx)]
|
||||||
- Merge v1.12.3.11: Update due to 4chan's ad changes, part two.
|
- Merge v1.12.3.11: Update due to 4chan's ad changes, part two.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.13.0.16
|
// @version 1.13.0.17
|
||||||
// @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.0.16
|
// @version 1.13.0.17
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -147,7 +147,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.13.0.16',
|
VERSION: '1.13.0.17',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -6178,17 +6178,17 @@ Post = (function() {
|
|||||||
node.id = Post.Clone.prefix + node.id;
|
node.id = Post.Clone.prefix + node.id;
|
||||||
}
|
}
|
||||||
Post.Clone.prefix++;
|
Post.Clone.prefix++;
|
||||||
this.nodes = this.parseNodes(root);
|
ref2 = $$('.inline', root);
|
||||||
ref2 = $$('.inline', this.nodes.post);
|
|
||||||
for (k = 0, len2 = ref2.length; k < len2; k++) {
|
for (k = 0, len2 = ref2.length; k < len2; k++) {
|
||||||
inline = ref2[k];
|
inline = ref2[k];
|
||||||
$.rm(inline);
|
$.rm(inline);
|
||||||
}
|
}
|
||||||
ref3 = $$('.inlined', this.nodes.post);
|
ref3 = $$('.inlined', root);
|
||||||
for (l = 0, len3 = ref3.length; l < len3; l++) {
|
for (l = 0, len3 = ref3.length; l < len3; l++) {
|
||||||
inlined = ref3[l];
|
inlined = ref3[l];
|
||||||
$.rmClass(inlined, 'inlined');
|
$.rmClass(inlined, 'inlined');
|
||||||
}
|
}
|
||||||
|
this.nodes = this.parseNodes(root);
|
||||||
root.hidden = false;
|
root.hidden = false;
|
||||||
$.rmClass(root, 'forwarded');
|
$.rmClass(root, 'forwarded');
|
||||||
$.rmClass(this.nodes.post, 'highlight');
|
$.rmClass(this.nodes.post, 'highlight');
|
||||||
@ -18965,20 +18965,23 @@ Unread = (function() {
|
|||||||
titleDead = Unread.thread.isDead ? Unread.title.replace('-', (Unread.thread.isArchived ? '- Archived -' : '- 404 -')) : Unread.title;
|
titleDead = Unread.thread.isDead ? Unread.title.replace('-', (Unread.thread.isArchived ? '- Archived -' : '- 404 -')) : Unread.title;
|
||||||
d.title = "" + titleQuotingYou + titleCount + titleDead;
|
d.title = "" + titleQuotingYou + titleCount + titleDead;
|
||||||
}
|
}
|
||||||
$.forceSync('Remember Last Read Post');
|
Unread.saveThreadWatcherCount();
|
||||||
if (Conf['Remember Last Read Post'] && (!Unread.thread.isDead || Unread.thread.isArchived)) {
|
|
||||||
ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
|
|
||||||
isDead: Unread.thread.isDead,
|
|
||||||
unread: count,
|
|
||||||
quotingYou: countQuotingYou
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (Conf['Unread Favicon']) {
|
if (Conf['Unread Favicon']) {
|
||||||
isDead = Unread.thread.isDead;
|
isDead = Unread.thread.isDead;
|
||||||
Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
|
Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
|
||||||
return $.add(d.head, Favicon.el);
|
return $.add(d.head, Favicon.el);
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
saveThreadWatcherCount: $.debounce(2 * $.SECOND, function() {
|
||||||
|
$.forceSync('Remember Last Read Post');
|
||||||
|
if (Conf['Remember Last Read Post'] && (!Unread.thread.isDead || Unread.thread.isArchived)) {
|
||||||
|
return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
|
||||||
|
isDead: Unread.thread.isDead,
|
||||||
|
unread: Unread.posts.size,
|
||||||
|
quotingYou: Unread.postsQuotingYou.size
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
return Unread;
|
return Unread;
|
||||||
@ -21719,12 +21722,13 @@ QR = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_Class.prototype.save = function(input) {
|
_Class.prototype.save = function(input) {
|
||||||
var name, ref;
|
var name, prev, ref;
|
||||||
if (input.type === 'checkbox') {
|
if (input.type === 'checkbox') {
|
||||||
this.spoiler = input.checked;
|
this.spoiler = input.checked;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
name = input.dataset.name;
|
name = input.dataset.name;
|
||||||
|
prev = this[name];
|
||||||
this[name] = input.value || input.dataset["default"] || null;
|
this[name] = input.value || input.dataset["default"] || null;
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case 'thread':
|
case 'thread':
|
||||||
@ -21743,7 +21747,9 @@ QR = (function() {
|
|||||||
this.saveFilename();
|
this.saveFilename();
|
||||||
return this.updateFilename();
|
return this.updateFilename();
|
||||||
case 'name':
|
case 'name':
|
||||||
return QR.persona.set(this);
|
if (this.name !== prev) {
|
||||||
|
return QR.persona.set(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.13.0.16
|
// @version 1.13.0.17
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -147,7 +147,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.13.0.16',
|
VERSION: '1.13.0.17',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -6178,17 +6178,17 @@ Post = (function() {
|
|||||||
node.id = Post.Clone.prefix + node.id;
|
node.id = Post.Clone.prefix + node.id;
|
||||||
}
|
}
|
||||||
Post.Clone.prefix++;
|
Post.Clone.prefix++;
|
||||||
this.nodes = this.parseNodes(root);
|
ref2 = $$('.inline', root);
|
||||||
ref2 = $$('.inline', this.nodes.post);
|
|
||||||
for (k = 0, len2 = ref2.length; k < len2; k++) {
|
for (k = 0, len2 = ref2.length; k < len2; k++) {
|
||||||
inline = ref2[k];
|
inline = ref2[k];
|
||||||
$.rm(inline);
|
$.rm(inline);
|
||||||
}
|
}
|
||||||
ref3 = $$('.inlined', this.nodes.post);
|
ref3 = $$('.inlined', root);
|
||||||
for (l = 0, len3 = ref3.length; l < len3; l++) {
|
for (l = 0, len3 = ref3.length; l < len3; l++) {
|
||||||
inlined = ref3[l];
|
inlined = ref3[l];
|
||||||
$.rmClass(inlined, 'inlined');
|
$.rmClass(inlined, 'inlined');
|
||||||
}
|
}
|
||||||
|
this.nodes = this.parseNodes(root);
|
||||||
root.hidden = false;
|
root.hidden = false;
|
||||||
$.rmClass(root, 'forwarded');
|
$.rmClass(root, 'forwarded');
|
||||||
$.rmClass(this.nodes.post, 'highlight');
|
$.rmClass(this.nodes.post, 'highlight');
|
||||||
@ -18965,20 +18965,23 @@ Unread = (function() {
|
|||||||
titleDead = Unread.thread.isDead ? Unread.title.replace('-', (Unread.thread.isArchived ? '- Archived -' : '- 404 -')) : Unread.title;
|
titleDead = Unread.thread.isDead ? Unread.title.replace('-', (Unread.thread.isArchived ? '- Archived -' : '- 404 -')) : Unread.title;
|
||||||
d.title = "" + titleQuotingYou + titleCount + titleDead;
|
d.title = "" + titleQuotingYou + titleCount + titleDead;
|
||||||
}
|
}
|
||||||
$.forceSync('Remember Last Read Post');
|
Unread.saveThreadWatcherCount();
|
||||||
if (Conf['Remember Last Read Post'] && (!Unread.thread.isDead || Unread.thread.isArchived)) {
|
|
||||||
ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
|
|
||||||
isDead: Unread.thread.isDead,
|
|
||||||
unread: count,
|
|
||||||
quotingYou: countQuotingYou
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (Conf['Unread Favicon']) {
|
if (Conf['Unread Favicon']) {
|
||||||
isDead = Unread.thread.isDead;
|
isDead = Unread.thread.isDead;
|
||||||
Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
|
Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
|
||||||
return $.add(d.head, Favicon.el);
|
return $.add(d.head, Favicon.el);
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
saveThreadWatcherCount: $.debounce(2 * $.SECOND, function() {
|
||||||
|
$.forceSync('Remember Last Read Post');
|
||||||
|
if (Conf['Remember Last Read Post'] && (!Unread.thread.isDead || Unread.thread.isArchived)) {
|
||||||
|
return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
|
||||||
|
isDead: Unread.thread.isDead,
|
||||||
|
unread: Unread.posts.size,
|
||||||
|
quotingYou: Unread.postsQuotingYou.size
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
return Unread;
|
return Unread;
|
||||||
@ -21719,12 +21722,13 @@ QR = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_Class.prototype.save = function(input) {
|
_Class.prototype.save = function(input) {
|
||||||
var name, ref;
|
var name, prev, ref;
|
||||||
if (input.type === 'checkbox') {
|
if (input.type === 'checkbox') {
|
||||||
this.spoiler = input.checked;
|
this.spoiler = input.checked;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
name = input.dataset.name;
|
name = input.dataset.name;
|
||||||
|
prev = this[name];
|
||||||
this[name] = input.value || input.dataset["default"] || null;
|
this[name] = input.value || input.dataset["default"] || null;
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case 'thread':
|
case 'thread':
|
||||||
@ -21743,7 +21747,9 @@ QR = (function() {
|
|||||||
this.saveFilename();
|
this.saveFilename();
|
||||||
return this.updateFilename();
|
return this.updateFilename();
|
||||||
case 'name':
|
case 'name':
|
||||||
return QR.persona.set(this);
|
if (this.name !== prev) {
|
||||||
|
return QR.persona.set(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.13.0.16
|
// @version 1.13.0.17
|
||||||
// @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.0.16
|
// @version 1.13.0.17
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -147,7 +147,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.13.0.16',
|
VERSION: '1.13.0.17',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -6178,17 +6178,17 @@ Post = (function() {
|
|||||||
node.id = Post.Clone.prefix + node.id;
|
node.id = Post.Clone.prefix + node.id;
|
||||||
}
|
}
|
||||||
Post.Clone.prefix++;
|
Post.Clone.prefix++;
|
||||||
this.nodes = this.parseNodes(root);
|
ref2 = $$('.inline', root);
|
||||||
ref2 = $$('.inline', this.nodes.post);
|
|
||||||
for (k = 0, len2 = ref2.length; k < len2; k++) {
|
for (k = 0, len2 = ref2.length; k < len2; k++) {
|
||||||
inline = ref2[k];
|
inline = ref2[k];
|
||||||
$.rm(inline);
|
$.rm(inline);
|
||||||
}
|
}
|
||||||
ref3 = $$('.inlined', this.nodes.post);
|
ref3 = $$('.inlined', root);
|
||||||
for (l = 0, len3 = ref3.length; l < len3; l++) {
|
for (l = 0, len3 = ref3.length; l < len3; l++) {
|
||||||
inlined = ref3[l];
|
inlined = ref3[l];
|
||||||
$.rmClass(inlined, 'inlined');
|
$.rmClass(inlined, 'inlined');
|
||||||
}
|
}
|
||||||
|
this.nodes = this.parseNodes(root);
|
||||||
root.hidden = false;
|
root.hidden = false;
|
||||||
$.rmClass(root, 'forwarded');
|
$.rmClass(root, 'forwarded');
|
||||||
$.rmClass(this.nodes.post, 'highlight');
|
$.rmClass(this.nodes.post, 'highlight');
|
||||||
@ -18965,20 +18965,23 @@ Unread = (function() {
|
|||||||
titleDead = Unread.thread.isDead ? Unread.title.replace('-', (Unread.thread.isArchived ? '- Archived -' : '- 404 -')) : Unread.title;
|
titleDead = Unread.thread.isDead ? Unread.title.replace('-', (Unread.thread.isArchived ? '- Archived -' : '- 404 -')) : Unread.title;
|
||||||
d.title = "" + titleQuotingYou + titleCount + titleDead;
|
d.title = "" + titleQuotingYou + titleCount + titleDead;
|
||||||
}
|
}
|
||||||
$.forceSync('Remember Last Read Post');
|
Unread.saveThreadWatcherCount();
|
||||||
if (Conf['Remember Last Read Post'] && (!Unread.thread.isDead || Unread.thread.isArchived)) {
|
|
||||||
ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
|
|
||||||
isDead: Unread.thread.isDead,
|
|
||||||
unread: count,
|
|
||||||
quotingYou: countQuotingYou
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (Conf['Unread Favicon']) {
|
if (Conf['Unread Favicon']) {
|
||||||
isDead = Unread.thread.isDead;
|
isDead = Unread.thread.isDead;
|
||||||
Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
|
Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
|
||||||
return $.add(d.head, Favicon.el);
|
return $.add(d.head, Favicon.el);
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
saveThreadWatcherCount: $.debounce(2 * $.SECOND, function() {
|
||||||
|
$.forceSync('Remember Last Read Post');
|
||||||
|
if (Conf['Remember Last Read Post'] && (!Unread.thread.isDead || Unread.thread.isArchived)) {
|
||||||
|
return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
|
||||||
|
isDead: Unread.thread.isDead,
|
||||||
|
unread: Unread.posts.size,
|
||||||
|
quotingYou: Unread.postsQuotingYou.size
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
return Unread;
|
return Unread;
|
||||||
@ -21719,12 +21722,13 @@ QR = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_Class.prototype.save = function(input) {
|
_Class.prototype.save = function(input) {
|
||||||
var name, ref;
|
var name, prev, ref;
|
||||||
if (input.type === 'checkbox') {
|
if (input.type === 'checkbox') {
|
||||||
this.spoiler = input.checked;
|
this.spoiler = input.checked;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
name = input.dataset.name;
|
name = input.dataset.name;
|
||||||
|
prev = this[name];
|
||||||
this[name] = input.value || input.dataset["default"] || null;
|
this[name] = input.value || input.dataset["default"] || null;
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case 'thread':
|
case 'thread':
|
||||||
@ -21743,7 +21747,9 @@ QR = (function() {
|
|||||||
this.saveFilename();
|
this.saveFilename();
|
||||||
return this.updateFilename();
|
return this.updateFilename();
|
||||||
case 'name':
|
case 'name':
|
||||||
return QR.persona.set(this);
|
if (this.name !== prev) {
|
||||||
|
return QR.persona.set(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
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.0.16' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.0.17' />
|
||||||
</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.0.16' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.0.17' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.13.0.16",
|
"version": "1.13.0.17",
|
||||||
"date": "2016-10-27T18:35:46.546Z"
|
"date": "2016-10-30T05:07:56.889Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user