diff --git a/CHANGELOG.md b/CHANGELOG.md index 091152c2d..d088b348e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.13.10 +**v1.13.10.2** *(2017-07-20)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.2/builds/4chan-X-noupdate.crx)] +- Add an API for adding captchas to 4chan X's cache (`SaveCaptcha` event). + **v1.13.10.1** *(2017-07-16)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.1/builds/4chan-X-noupdate.crx)] - Add `Redirect to HTTPS` setting and turn it on by default. #885 - Turn `Force Noscript Captcha for v1` on by default. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 81427be6d..fccb5b5b8 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 ab1404a37..4365e78f9 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.13.10.1 +// @version 1.13.10.2 // @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 8d778df33..a8bf26268 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.13.10.1 +// @version 1.13.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.10.1', + VERSION: '1.13.10.2', NAMESPACE: '4chan X.', boards: {} }; @@ -19923,7 +19923,12 @@ Captcha = {}; return _this.clear(); }; })(this)); - return $.sync('captchas', this.sync.bind(this)); + $.sync('captchas', this.sync.bind(this)); + return $.on(d, 'SaveCaptcha', (function(_this) { + return function(e) { + return _this.save(e.detail); + }; + })(this)); }, captchas: [], getCount: function() { diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 523e39658..0f370fda9 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 daf895c50..82573b9b6 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.13.10.1 +// @version 1.13.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.10.1', + VERSION: '1.13.10.2', NAMESPACE: '4chan X.', boards: {} }; @@ -19923,7 +19923,12 @@ Captcha = {}; return _this.clear(); }; })(this)); - return $.sync('captchas', this.sync.bind(this)); + $.sync('captchas', this.sync.bind(this)); + return $.on(d, 'SaveCaptcha', (function(_this) { + return function(e) { + return _this.save(e.detail); + }; + })(this)); }, captchas: [], getCount: function() { diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index cda6e5457..de1a23d06 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 d9200dcd4..a2d70f3d2 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.10.1 +// @version 1.13.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 6bf337dde..0a900b716 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.10.1 +// @version 1.13.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.10.1', + VERSION: '1.13.10.2', NAMESPACE: '4chan X.', boards: {} }; @@ -19923,7 +19923,12 @@ Captcha = {}; return _this.clear(); }; })(this)); - return $.sync('captchas', this.sync.bind(this)); + $.sync('captchas', this.sync.bind(this)); + return $.on(d, 'SaveCaptcha', (function(_this) { + return function(e) { + return _this.save(e.detail); + }; + })(this)); }, captchas: [], getCount: function() { diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 15a4317c6..2da95667f 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index ad7950745..ef474216e 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.xml b/builds/updates.xml index 21510bed4..619277f94 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index d90deaec2..a09015822 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.10.1", - "date": "2017-07-16T08:25:52.986Z" + "version": "1.13.10.2", + "date": "2017-07-20T17:47:35.642Z" } \ No newline at end of file