diff --git a/CHANGELOG.md b/CHANGELOG.md index 580887686..809b5b557 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ The attributions below are for work that has been incorporated into the script a The links to individual versions below are to copies of the script with the update URL removed. If you want automatic updates, install the script from the links on the [main page](https://github.com/ccd0/4chan-x). +### v1.9.3.5 +*2014-09-18* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.5/builds/4chan-X-noupdate.crx "Chromium version")] + +**ccd0** +- Revert a bad "fix" from v1.9.3.2. + ### v1.9.3.4 *2014-09-18* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.4/builds/4chan-X-noupdate.crx "Chromium version")] diff --git a/LICENSE b/LICENSE index 904314765..ad7cc6501 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.9.3.4 +* 4chan X - Version 1.9.3.5 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 7d2161a9e..7bbc299e9 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 0b2ed0459..7c791d59f 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.9.3.4 +// @version 1.9.3.5 // @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 64b20e97f..d924a4fdd 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X beta -// @version 1.9.3.4 +// @version 1.9.3.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.3.4 +* 4chan X - Version 1.9.3.5 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -376,7 +376,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.3.4', + VERSION: '1.9.3.5', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -4030,7 +4030,6 @@ isImage: (_ref = el.nodeName) === 'IMG' || _ref === 'VIDEO', cb: cb, endEvents: endEvents, - ready: false, latestEvent: latestEvent, clientHeight: doc.clientHeight, clientWidth: doc.clientWidth, @@ -4041,7 +4040,6 @@ $.asap(function() { return !el.parentNode || asapTest(); }, function() { - o.ready = true; if (el.parentNode) { return o.hover(o.latestEvent); } @@ -4061,9 +4059,6 @@ hover = function(e) { var clientX, clientY, height, left, right, style, threshold, top, _ref; this.latestEvent = e; - if (!this.ready) { - return; - } height = this.el.offsetHeight; clientX = e.clientX, clientY = e.clientY; top = this.isImage ? Math.max(0, clientY * (this.clientHeight - height) / this.clientHeight) : Math.max(0, Math.min(this.clientHeight - height, clientY - 120)); @@ -12877,7 +12872,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index c7b630ba7..4d61740c0 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 139381a52..3403f9c9f 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.9.3.4 +// @version 1.9.3.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -23,7 +23,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.3.4 +* 4chan X - Version 1.9.3.5 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -375,7 +375,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.3.4', + VERSION: '1.9.3.5', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -4029,7 +4029,6 @@ isImage: (_ref = el.nodeName) === 'IMG' || _ref === 'VIDEO', cb: cb, endEvents: endEvents, - ready: false, latestEvent: latestEvent, clientHeight: doc.clientHeight, clientWidth: doc.clientWidth, @@ -4040,7 +4039,6 @@ $.asap(function() { return !el.parentNode || asapTest(); }, function() { - o.ready = true; if (el.parentNode) { return o.hover(o.latestEvent); } @@ -4060,9 +4058,6 @@ hover = function(e) { var clientX, clientY, height, left, right, style, threshold, top, _ref; this.latestEvent = e; - if (!this.ready) { - return; - } height = this.el.offsetHeight; clientX = e.clientX, clientY = e.clientY; top = this.isImage ? Math.max(0, clientY * (this.clientHeight - height) / this.clientHeight) : Math.max(0, Math.min(this.clientHeight - height, clientY - 120)); @@ -12876,7 +12871,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 8a22cd0ba..4764f5007 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 d4318d25a..bc63fc090 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.9.3.4 +// @version 1.9.3.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 48d85ff39..85cb2769b 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.9.3.4 +// @version 1.9.3.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.3.4 +* 4chan X - Version 1.9.3.5 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -376,7 +376,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.3.4', + VERSION: '1.9.3.5', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -4030,7 +4030,6 @@ isImage: (_ref = el.nodeName) === 'IMG' || _ref === 'VIDEO', cb: cb, endEvents: endEvents, - ready: false, latestEvent: latestEvent, clientHeight: doc.clientHeight, clientWidth: doc.clientWidth, @@ -4041,7 +4040,6 @@ $.asap(function() { return !el.parentNode || asapTest(); }, function() { - o.ready = true; if (el.parentNode) { return o.hover(o.latestEvent); } @@ -4061,9 +4059,6 @@ hover = function(e) { var clientX, clientY, height, left, right, style, threshold, top, _ref; this.latestEvent = e; - if (!this.ready) { - return; - } height = this.el.offsetHeight; clientX = e.clientX, clientY = e.clientY; top = this.isImage ? Math.max(0, clientY * (this.clientHeight - height) / this.clientHeight) : Math.max(0, Math.min(this.clientHeight - height, clientY - 120)); @@ -12877,7 +12872,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index f4308394f..84b69f927 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 06abe5b2a..a8ab6876c 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 3b4c9ff87..2efd69bfe 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index 8ac029fa6..a8c3e9e7e 100755 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.9.3.4", + "version": "1.9.3.5", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",