diff --git a/CHANGELOG.md b/CHANGELOG.md index bf3ce3a30..81237a951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.13.9 +**v1.13.9.6** *(2017-06-28)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.6/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.6/builds/4chan-X-noupdate.crx)] +- Include link to FAQ entry about [blob: blocking issue](https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#error-reading-metadata) in warning message when can't read file metadata. #1417 + **v1.13.9.5** *(2017-06-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.5/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.5/builds/4chan-X-noupdate.crx)] - Support /pol/ custom flags in archive-related features. #1403 diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 502dacc3b..653aab4b1 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 d5a7c21ef..d9a3977d5 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.9.5 +// @version 1.13.9.6 // @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 4719c810f..1e3461122 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.9.5 +// @version 1.13.9.6 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.9.5', + VERSION: '1.13.9.6', NAMESPACE: '4chan X.', boards: {} }; @@ -22850,13 +22850,13 @@ QR = (function() { } }; - _Class.prototype.error = function(className, message) { + _Class.prototype.error = function(className, message, link) { var div, ref, rm, rmAll; div = $.el('div', { className: className }); $.extend(div, { - innerHTML: E(message) + "
[delete post] [delete all]" + innerHTML: E(message) + ((link) ? " [More info]" : "") + "
[delete post] [delete all]" }); (this.errors || (this.errors = [])).push(div); ref = $$('a', div), rm = ref[0], rmAll = ref[1]; @@ -22879,8 +22879,8 @@ QR = (function() { return QR.error(div, true); }; - _Class.prototype.fileError = function(message) { - return this.error('file-error', this.filename + ": " + message); + _Class.prototype.fileError = function(message, link) { + return this.error('file-error', this.filename + ": " + message, link); }; _Class.prototype.dismissErrors = function(test) { @@ -22963,7 +22963,7 @@ QR = (function() { return function() { $.off(el, event, onload); $.off(el, 'error', onerror); - _this.fileError((isVideo ? 'Video' : 'Image') + " appears corrupt"); + _this.fileError("Corrupt " + (isVideo ? 'video' : 'image') + " or error reading metadata.", 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#error-reading-metadata'); return URL.revokeObjectURL(el.src); }; })(this); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index a6b343e21..4d2f8d88b 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 38fde727b..2da484647 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.9.5 +// @version 1.13.9.6 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.9.5', + VERSION: '1.13.9.6', NAMESPACE: '4chan X.', boards: {} }; @@ -22850,13 +22850,13 @@ QR = (function() { } }; - _Class.prototype.error = function(className, message) { + _Class.prototype.error = function(className, message, link) { var div, ref, rm, rmAll; div = $.el('div', { className: className }); $.extend(div, { - innerHTML: E(message) + "
[delete post] [delete all]" + innerHTML: E(message) + ((link) ? " [More info]" : "") + "
[delete post] [delete all]" }); (this.errors || (this.errors = [])).push(div); ref = $$('a', div), rm = ref[0], rmAll = ref[1]; @@ -22879,8 +22879,8 @@ QR = (function() { return QR.error(div, true); }; - _Class.prototype.fileError = function(message) { - return this.error('file-error', this.filename + ": " + message); + _Class.prototype.fileError = function(message, link) { + return this.error('file-error', this.filename + ": " + message, link); }; _Class.prototype.dismissErrors = function(test) { @@ -22963,7 +22963,7 @@ QR = (function() { return function() { $.off(el, event, onload); $.off(el, 'error', onerror); - _this.fileError((isVideo ? 'Video' : 'Image') + " appears corrupt"); + _this.fileError("Corrupt " + (isVideo ? 'video' : 'image') + " or error reading metadata.", 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#error-reading-metadata'); return URL.revokeObjectURL(el.src); }; })(this); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 990bf221e..f83a637fa 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 148f20947..e706a280b 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.9.5 +// @version 1.13.9.6 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 39ec65f23..450848813 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.9.5 +// @version 1.13.9.6 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.9.5', + VERSION: '1.13.9.6', NAMESPACE: '4chan X.', boards: {} }; @@ -22850,13 +22850,13 @@ QR = (function() { } }; - _Class.prototype.error = function(className, message) { + _Class.prototype.error = function(className, message, link) { var div, ref, rm, rmAll; div = $.el('div', { className: className }); $.extend(div, { - innerHTML: E(message) + "
[delete post] [delete all]" + innerHTML: E(message) + ((link) ? " [More info]" : "") + "
[delete post] [delete all]" }); (this.errors || (this.errors = [])).push(div); ref = $$('a', div), rm = ref[0], rmAll = ref[1]; @@ -22879,8 +22879,8 @@ QR = (function() { return QR.error(div, true); }; - _Class.prototype.fileError = function(message) { - return this.error('file-error', this.filename + ": " + message); + _Class.prototype.fileError = function(message, link) { + return this.error('file-error', this.filename + ": " + message, link); }; _Class.prototype.dismissErrors = function(test) { @@ -22963,7 +22963,7 @@ QR = (function() { return function() { $.off(el, event, onload); $.off(el, 'error', onerror); - _this.fileError((isVideo ? 'Video' : 'Image') + " appears corrupt"); + _this.fileError("Corrupt " + (isVideo ? 'video' : 'image') + " or error reading metadata.", 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions#error-reading-metadata'); return URL.revokeObjectURL(el.src); }; })(this); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 70f903af6..0cbb02207 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 e1702b23e..228faa5b3 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 4ef791e7e..0141d7b7e 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index 3dc68fe1e..b25cf83d4 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.9.5", - "date": "2017-06-27T22:21:11.331Z" + "version": "1.13.9.6", + "date": "2017-06-28T05:16:11.160Z" } \ No newline at end of file