Release 4chan X v1.14.5.3.
This commit is contained in:
parent
7675816307
commit
9630b06f90
@ -4,6 +4,9 @@
|
||||
|
||||
### v1.14.5
|
||||
|
||||
**v1.14.5.3** *(2018-12-07)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.3/builds/4chan-X-noupdate.crx)]
|
||||
- Fix bugs in cross-site data access.
|
||||
|
||||
**v1.14.5.2** *(2018-12-07)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.2/builds/4chan-X-noupdate.crx)]
|
||||
- All Thread Watcher functionality is now supported on and across Tinyboard/vichan sites, including auto-updating, the unread count, and lighting up upon replies, with the exception that threads from sites without JSON APIs will not be updated when the thread watcher is refreshed.
|
||||
- The `Unread Count`, `Unread Line`, `Scroll to Last Read Post`, and `Desktop Notifications` are now supported on Tinyboard/vichan sites.
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.14.5.2
|
||||
// @version 1.14.5.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.14.5.2
|
||||
// @version 1.14.5.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -198,7 +198,7 @@ docSet = function() {
|
||||
};
|
||||
|
||||
g = {
|
||||
VERSION: '1.14.5.2',
|
||||
VERSION: '1.14.5.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -5843,6 +5843,9 @@ DataBoard = (function() {
|
||||
var boardID, postID, siteID, threadID;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID;
|
||||
siteID || (siteID = Site.hostname);
|
||||
if (!this.data[siteID]) {
|
||||
return;
|
||||
}
|
||||
return this.save((function(_this) {
|
||||
return function() {
|
||||
var ref;
|
||||
@ -5875,6 +5878,9 @@ DataBoard = (function() {
|
||||
DataBoard.prototype.deleteIfEmpty = function(arg) {
|
||||
var boardID, siteID, threadID;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID;
|
||||
if (!this.data[siteID]) {
|
||||
return;
|
||||
}
|
||||
if (threadID) {
|
||||
if (!Object.keys(this.data[siteID].boards[boardID][threadID]).length) {
|
||||
delete this.data[siteID].boards[boardID][threadID];
|
||||
@ -5897,13 +5903,16 @@ DataBoard = (function() {
|
||||
};
|
||||
|
||||
DataBoard.prototype.setUnsafe = function(arg) {
|
||||
var base, base1, base2, boardID, postID, siteID, threadID, val;
|
||||
var base, base1, base2, base3, boardID, postID, siteID, threadID, val;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, val = arg.val;
|
||||
siteID || (siteID = Site.hostname);
|
||||
(base = this.data)[siteID] || (base[siteID] = {
|
||||
boards: {}
|
||||
});
|
||||
if (postID !== void 0) {
|
||||
return ((base = ((base1 = this.data[siteID].boards)[boardID] || (base1[boardID] = {})))[threadID] || (base[threadID] = {}))[postID] = val;
|
||||
return ((base1 = ((base2 = this.data[siteID].boards)[boardID] || (base2[boardID] = {})))[threadID] || (base1[threadID] = {}))[postID] = val;
|
||||
} else if (threadID !== void 0) {
|
||||
return ((base2 = this.data[siteID].boards)[boardID] || (base2[boardID] = {}))[threadID] = val;
|
||||
return ((base3 = this.data[siteID].boards)[boardID] || (base3[boardID] = {}))[threadID] = val;
|
||||
} else {
|
||||
return this.data[siteID].boards[boardID] = val;
|
||||
}
|
||||
@ -5948,10 +5957,10 @@ DataBoard = (function() {
|
||||
};
|
||||
|
||||
DataBoard.prototype.get = function(arg) {
|
||||
var ID, board, boardID, defaultValue, i, len, postID, siteID, thread, threadID, val;
|
||||
var ID, board, boardID, defaultValue, i, len, postID, ref, siteID, thread, threadID, val;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, defaultValue = arg.defaultValue;
|
||||
siteID || (siteID = Site.hostname);
|
||||
if (board = this.data[siteID].boards[boardID]) {
|
||||
if (board = (ref = this.data[siteID]) != null ? ref.boards[boardID] : void 0) {
|
||||
if (threadID == null) {
|
||||
if (postID != null) {
|
||||
for (thread = i = 0, len = board.length; i < len; thread = ++i) {
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.14.5.2
|
||||
// @version 1.14.5.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -198,7 +198,7 @@ docSet = function() {
|
||||
};
|
||||
|
||||
g = {
|
||||
VERSION: '1.14.5.2',
|
||||
VERSION: '1.14.5.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -5843,6 +5843,9 @@ DataBoard = (function() {
|
||||
var boardID, postID, siteID, threadID;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID;
|
||||
siteID || (siteID = Site.hostname);
|
||||
if (!this.data[siteID]) {
|
||||
return;
|
||||
}
|
||||
return this.save((function(_this) {
|
||||
return function() {
|
||||
var ref;
|
||||
@ -5875,6 +5878,9 @@ DataBoard = (function() {
|
||||
DataBoard.prototype.deleteIfEmpty = function(arg) {
|
||||
var boardID, siteID, threadID;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID;
|
||||
if (!this.data[siteID]) {
|
||||
return;
|
||||
}
|
||||
if (threadID) {
|
||||
if (!Object.keys(this.data[siteID].boards[boardID][threadID]).length) {
|
||||
delete this.data[siteID].boards[boardID][threadID];
|
||||
@ -5897,13 +5903,16 @@ DataBoard = (function() {
|
||||
};
|
||||
|
||||
DataBoard.prototype.setUnsafe = function(arg) {
|
||||
var base, base1, base2, boardID, postID, siteID, threadID, val;
|
||||
var base, base1, base2, base3, boardID, postID, siteID, threadID, val;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, val = arg.val;
|
||||
siteID || (siteID = Site.hostname);
|
||||
(base = this.data)[siteID] || (base[siteID] = {
|
||||
boards: {}
|
||||
});
|
||||
if (postID !== void 0) {
|
||||
return ((base = ((base1 = this.data[siteID].boards)[boardID] || (base1[boardID] = {})))[threadID] || (base[threadID] = {}))[postID] = val;
|
||||
return ((base1 = ((base2 = this.data[siteID].boards)[boardID] || (base2[boardID] = {})))[threadID] || (base1[threadID] = {}))[postID] = val;
|
||||
} else if (threadID !== void 0) {
|
||||
return ((base2 = this.data[siteID].boards)[boardID] || (base2[boardID] = {}))[threadID] = val;
|
||||
return ((base3 = this.data[siteID].boards)[boardID] || (base3[boardID] = {}))[threadID] = val;
|
||||
} else {
|
||||
return this.data[siteID].boards[boardID] = val;
|
||||
}
|
||||
@ -5948,10 +5957,10 @@ DataBoard = (function() {
|
||||
};
|
||||
|
||||
DataBoard.prototype.get = function(arg) {
|
||||
var ID, board, boardID, defaultValue, i, len, postID, siteID, thread, threadID, val;
|
||||
var ID, board, boardID, defaultValue, i, len, postID, ref, siteID, thread, threadID, val;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, defaultValue = arg.defaultValue;
|
||||
siteID || (siteID = Site.hostname);
|
||||
if (board = this.data[siteID].boards[boardID]) {
|
||||
if (board = (ref = this.data[siteID]) != null ? ref.boards[boardID] : void 0) {
|
||||
if (threadID == null) {
|
||||
if (postID != null) {
|
||||
for (thread = i = 0, len = board.length; i < len; thread = ++i) {
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.14.5.2
|
||||
// @version 1.14.5.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.14.5.2
|
||||
// @version 1.14.5.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -198,7 +198,7 @@ docSet = function() {
|
||||
};
|
||||
|
||||
g = {
|
||||
VERSION: '1.14.5.2',
|
||||
VERSION: '1.14.5.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -5843,6 +5843,9 @@ DataBoard = (function() {
|
||||
var boardID, postID, siteID, threadID;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID;
|
||||
siteID || (siteID = Site.hostname);
|
||||
if (!this.data[siteID]) {
|
||||
return;
|
||||
}
|
||||
return this.save((function(_this) {
|
||||
return function() {
|
||||
var ref;
|
||||
@ -5875,6 +5878,9 @@ DataBoard = (function() {
|
||||
DataBoard.prototype.deleteIfEmpty = function(arg) {
|
||||
var boardID, siteID, threadID;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID;
|
||||
if (!this.data[siteID]) {
|
||||
return;
|
||||
}
|
||||
if (threadID) {
|
||||
if (!Object.keys(this.data[siteID].boards[boardID][threadID]).length) {
|
||||
delete this.data[siteID].boards[boardID][threadID];
|
||||
@ -5897,13 +5903,16 @@ DataBoard = (function() {
|
||||
};
|
||||
|
||||
DataBoard.prototype.setUnsafe = function(arg) {
|
||||
var base, base1, base2, boardID, postID, siteID, threadID, val;
|
||||
var base, base1, base2, base3, boardID, postID, siteID, threadID, val;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, val = arg.val;
|
||||
siteID || (siteID = Site.hostname);
|
||||
(base = this.data)[siteID] || (base[siteID] = {
|
||||
boards: {}
|
||||
});
|
||||
if (postID !== void 0) {
|
||||
return ((base = ((base1 = this.data[siteID].boards)[boardID] || (base1[boardID] = {})))[threadID] || (base[threadID] = {}))[postID] = val;
|
||||
return ((base1 = ((base2 = this.data[siteID].boards)[boardID] || (base2[boardID] = {})))[threadID] || (base1[threadID] = {}))[postID] = val;
|
||||
} else if (threadID !== void 0) {
|
||||
return ((base2 = this.data[siteID].boards)[boardID] || (base2[boardID] = {}))[threadID] = val;
|
||||
return ((base3 = this.data[siteID].boards)[boardID] || (base3[boardID] = {}))[threadID] = val;
|
||||
} else {
|
||||
return this.data[siteID].boards[boardID] = val;
|
||||
}
|
||||
@ -5948,10 +5957,10 @@ DataBoard = (function() {
|
||||
};
|
||||
|
||||
DataBoard.prototype.get = function(arg) {
|
||||
var ID, board, boardID, defaultValue, i, len, postID, siteID, thread, threadID, val;
|
||||
var ID, board, boardID, defaultValue, i, len, postID, ref, siteID, thread, threadID, val;
|
||||
siteID = arg.siteID, boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, defaultValue = arg.defaultValue;
|
||||
siteID || (siteID = Site.hostname);
|
||||
if (board = this.data[siteID].boards[boardID]) {
|
||||
if (board = (ref = this.data[siteID]) != null ? ref.boards[boardID] : void 0) {
|
||||
if (threadID == null) {
|
||||
if (postID != null) {
|
||||
for (thread = i = 0, len = board.length; i < len; thread = ++i) {
|
||||
|
||||
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
"4chan-x@4chan-x.net": {
|
||||
"updates": [
|
||||
{
|
||||
"version": "1.14.5.2",
|
||||
"version": "1.14.5.3",
|
||||
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
||||
}
|
||||
]
|
||||
|
||||
@ -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.14.5.2' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.5.3' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"4chan-x@4chan-x.net": {
|
||||
"updates": [
|
||||
{
|
||||
"version": "1.14.5.2",
|
||||
"version": "1.14.5.3",
|
||||
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
||||
}
|
||||
]
|
||||
|
||||
@ -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.14.5.2' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.5.3' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "1.14.5.2",
|
||||
"date": "2018-12-07T05:18:16.194Z"
|
||||
"version": "1.14.5.3",
|
||||
"date": "2018-12-07T07:37:49.493Z"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user