diff --git a/CHANGELOG.md b/CHANGELOG.md index f4ba97092..379d1eb85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.14.1 +**v1.14.1.1** *(2018-05-18)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.1.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.1.1/builds/4chan-X-noupdate.crx)] +- Possible fix for data loss issues. #1875 + **v1.14.1.0** *(2018-05-17)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.1.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.1.0/builds/4chan-X-noupdate.crx)] - Based on v1.14.0.15. - Allow the Quick Reply to be used on pages without an original post form such as archived threads. #242 diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index d02c59843..175b1190a 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index ac4368b69..b14a5c0c0 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.1.0 +// @version 1.14.1.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index 9c22f6134..1d07a3724 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.1.0 +// @version 1.14.1.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -157,7 +157,7 @@ docSet = function() { }; g = { - VERSION: '1.14.1.0', + VERSION: '1.14.1.1', NAMESPACE: '4chan X.', boards: {} }; @@ -5857,13 +5857,11 @@ DataBoard = (function() { DataBoard.prototype.ajaxClean = function(boardID) { return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/threads.json", (function(_this) { return function(e1) { - var ref; - if ((ref = e1.target.status) !== 200 && ref !== 404) { + if (e1.target.status !== 200) { return; } return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/archive.json", function(e2) { - var ref1; - if ((ref1 = e2.target.status) !== 200 && ref1 !== 404) { + if (!(e2.target.status === 200 || (boardID === 'b' || boardID === 'f' || boardID === 'trash' || boardID === 'bant'))) { return; } return _this.ajaxCleanParse(boardID, e1.target.response, e2.target.response); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 3d2dc591e..133eb85cd 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index 475564409..ed37b566e 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.1.0 +// @version 1.14.1.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -157,7 +157,7 @@ docSet = function() { }; g = { - VERSION: '1.14.1.0', + VERSION: '1.14.1.1', NAMESPACE: '4chan X.', boards: {} }; @@ -5857,13 +5857,11 @@ DataBoard = (function() { DataBoard.prototype.ajaxClean = function(boardID) { return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/threads.json", (function(_this) { return function(e1) { - var ref; - if ((ref = e1.target.status) !== 200 && ref !== 404) { + if (e1.target.status !== 200) { return; } return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/archive.json", function(e2) { - var ref1; - if ((ref1 = e2.target.status) !== 200 && ref1 !== 404) { + if (!(e2.target.status === 200 || (boardID === 'b' || boardID === 'f' || boardID === 'trash' || boardID === 'bant'))) { return; } return _this.ajaxCleanParse(boardID, e1.target.response, e2.target.response); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 9760ff7d5..9e027873b 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index eb806940f..c835487aa 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.1.0 +// @version 1.14.1.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 8c9560b41..72abe48d0 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.1.0 +// @version 1.14.1.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -157,7 +157,7 @@ docSet = function() { }; g = { - VERSION: '1.14.1.0', + VERSION: '1.14.1.1', NAMESPACE: '4chan X.', boards: {} }; @@ -5857,13 +5857,11 @@ DataBoard = (function() { DataBoard.prototype.ajaxClean = function(boardID) { return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/threads.json", (function(_this) { return function(e1) { - var ref; - if ((ref = e1.target.status) !== 200 && ref !== 404) { + if (e1.target.status !== 200) { return; } return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/archive.json", function(e2) { - var ref1; - if ((ref1 = e2.target.status) !== 200 && ref1 !== 404) { + if (!(e2.target.status === 200 || (boardID === 'b' || boardID === 'f' || boardID === 'trash' || boardID === 'bant'))) { return; } return _this.ajaxCleanParse(boardID, e1.target.response, e2.target.response); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index d0e280085..2c3765a93 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.json b/builds/updates-beta.json index 794970093..e7d1d4197 100644 --- a/builds/updates-beta.json +++ b/builds/updates-beta.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.1.0", + "version": "1.14.1.1", "update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx" } ] diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 7726d6869..b164ec2e4 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.json b/builds/updates.json index 0908ac57d..002e69f96 100644 --- a/builds/updates.json +++ b/builds/updates.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.1.0", + "version": "1.14.1.1", "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" } ] diff --git a/builds/updates.xml b/builds/updates.xml index 892245d8a..5da618670 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index fbc989574..f07473e56 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.14.1.0", - "date": "2018-05-17T06:35:55.533Z" + "version": "1.14.1.1", + "date": "2018-05-18T07:43:02.412Z" } \ No newline at end of file