diff --git a/CHANGELOG.md b/CHANGELOG.md index 00fba71cb..b44c0ef1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ -Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0). +### v1.13.13 + +**v1.13.13.0** *(2017-10-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.0/builds/4chan-X-noupdate.crx)] +- Based on v1.13.12.3. +- Experimental support for installing the Chrome extension version in Firefox. +- Minor bugfixes. + ### v1.13.12 **v1.13.12.3** *(2017-10-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.3/builds/4chan-X-noupdate.crx)] diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 153bf6212..7817b1d7f 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 c4091f95d..c4f029ab6 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.12.3 +// @version 1.13.13.0 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -52,6 +52,7 @@ // @grant GM.setValue // @grant GM.deleteValue // @grant GM.listValues +// @grant GM.openInTab // @grant GM.xmlHttpRequest // @run-at document-start // @updateURL https://www.4chan-x.net/builds/4chan-X-beta.meta.js diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index 0b5f49e82..ce4a667d8 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.12.3 +// @version 1.13.13.0 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -52,6 +52,7 @@ // @grant GM.setValue // @grant GM.deleteValue // @grant GM.listValues +// @grant GM.openInTab // @grant GM.xmlHttpRequest // @run-at document-start // @updateURL https://www.4chan-x.net/builds/4chan-X-beta.meta.js @@ -158,7 +159,7 @@ docSet = function() { }; g = { - VERSION: '1.13.12.3', + VERSION: '1.13.13.0', NAMESPACE: '4chan X.', boards: {} }; @@ -4480,7 +4481,7 @@ $ = (function() { var lastModified; lastModified = {}; return function(url, options, extra) { - var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified; + var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified, xhr; if (options == null) { options = {}; } @@ -4497,7 +4498,8 @@ $ = (function() { if ($.engine === 'blink' && whenModified) { url += "?s=" + whenModified; } - r = new XMLHttpRequest(); + xhr = XMLHttpRequest; + r = new xhr(); type || (type = form && 'post' || 'get'); try { r.open(type, url, true); @@ -4840,7 +4842,7 @@ $ = (function() { return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0; }; - $.open = typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { + $.open = (typeof GM !== "undefined" && GM !== null ? GM.openInTab : void 0) != null ? GM.openInTab : typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { return window.open(url, '_blank'); }; @@ -14333,7 +14335,7 @@ Volume = (function() { return; } $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); - return $.on($('a', this.file.text), 'wheel', Volume.wheel.bind(this.file.thumbLink)); + return $.on($('.file-info', this.file.text) || this.file.link, 'wheel', Volume.wheel.bind(this.file.thumbLink)); }, catalogNode: function() { var file; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index c51b82e09..c7c6b8c20 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 81b1585fd..320115e42 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.12.3 +// @version 1.13.13.0 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -52,6 +52,7 @@ // @grant GM.setValue // @grant GM.deleteValue // @grant GM.listValues +// @grant GM.openInTab // @grant GM.xmlHttpRequest // @run-at document-start // @updateURL https://noupdate.invalid/ @@ -158,7 +159,7 @@ docSet = function() { }; g = { - VERSION: '1.13.12.3', + VERSION: '1.13.13.0', NAMESPACE: '4chan X.', boards: {} }; @@ -4480,7 +4481,7 @@ $ = (function() { var lastModified; lastModified = {}; return function(url, options, extra) { - var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified; + var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified, xhr; if (options == null) { options = {}; } @@ -4497,7 +4498,8 @@ $ = (function() { if ($.engine === 'blink' && whenModified) { url += "?s=" + whenModified; } - r = new XMLHttpRequest(); + xhr = XMLHttpRequest; + r = new xhr(); type || (type = form && 'post' || 'get'); try { r.open(type, url, true); @@ -4840,7 +4842,7 @@ $ = (function() { return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0; }; - $.open = typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { + $.open = (typeof GM !== "undefined" && GM !== null ? GM.openInTab : void 0) != null ? GM.openInTab : typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { return window.open(url, '_blank'); }; @@ -14333,7 +14335,7 @@ Volume = (function() { return; } $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); - return $.on($('a', this.file.text), 'wheel', Volume.wheel.bind(this.file.thumbLink)); + return $.on($('.file-info', this.file.text) || this.file.link, 'wheel', Volume.wheel.bind(this.file.thumbLink)); }, catalogNode: function() { var file; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 4a90c6f93..0884be26b 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 5d75eaad8..9cdd3fcc6 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.12.3 +// @version 1.13.13.0 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -52,6 +52,7 @@ // @grant GM.setValue // @grant GM.deleteValue // @grant GM.listValues +// @grant GM.openInTab // @grant GM.xmlHttpRequest // @run-at document-start // @updateURL https://www.4chan-x.net/builds/4chan-X.meta.js diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 3161ba700..ccd5e6cc6 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.12.3 +// @version 1.13.13.0 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -52,6 +52,7 @@ // @grant GM.setValue // @grant GM.deleteValue // @grant GM.listValues +// @grant GM.openInTab // @grant GM.xmlHttpRequest // @run-at document-start // @updateURL https://www.4chan-x.net/builds/4chan-X.meta.js @@ -158,7 +159,7 @@ docSet = function() { }; g = { - VERSION: '1.13.12.3', + VERSION: '1.13.13.0', NAMESPACE: '4chan X.', boards: {} }; @@ -4480,7 +4481,7 @@ $ = (function() { var lastModified; lastModified = {}; return function(url, options, extra) { - var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified; + var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified, xhr; if (options == null) { options = {}; } @@ -4497,7 +4498,8 @@ $ = (function() { if ($.engine === 'blink' && whenModified) { url += "?s=" + whenModified; } - r = new XMLHttpRequest(); + xhr = XMLHttpRequest; + r = new xhr(); type || (type = form && 'post' || 'get'); try { r.open(type, url, true); @@ -4840,7 +4842,7 @@ $ = (function() { return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0; }; - $.open = typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { + $.open = (typeof GM !== "undefined" && GM !== null ? GM.openInTab : void 0) != null ? GM.openInTab : typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { return window.open(url, '_blank'); }; @@ -14333,7 +14335,7 @@ Volume = (function() { return; } $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); - return $.on($('a', this.file.text), 'wheel', Volume.wheel.bind(this.file.thumbLink)); + return $.on($('.file-info', this.file.text) || this.file.link, 'wheel', Volume.wheel.bind(this.file.thumbLink)); }, catalogNode: function() { var file; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index ef986a1a1..c2bb36497 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 new file mode 100644 index 000000000..708485cd5 --- /dev/null +++ b/builds/updates-beta.json @@ -0,0 +1,12 @@ +{ + "addons": { + "4chan-x@4chan-x.net": { + "updates": [ + { + "version": "1.13.13.0", + "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 8920cf56e..55bc7528a 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 new file mode 100644 index 000000000..18a006f32 --- /dev/null +++ b/builds/updates.json @@ -0,0 +1,12 @@ +{ + "addons": { + "4chan-x@4chan-x.net": { + "updates": [ + { + "version": "1.13.13.0", + "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" + } + ] + } + } +} diff --git a/builds/updates.xml b/builds/updates.xml index 3627f3993..6c990bc3c 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index 951f7c01f..a118fe79c 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.12.3", - "date": "2017-10-02T20:44:32.923Z" + "version": "1.13.13.0", + "date": "2017-10-09T00:36:31.712Z" } \ No newline at end of file