diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a414304f..3ce378950 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda ## v1.11.0 +**v1.11.0.2** *(2015-06-19)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.0.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.0.2/builds/4chan-X-noupdate.crx "Chromium version")] +- Remove code that focused on first image of the captcha as Google now focuses on the refresh button. + **v1.11.0.1** *(2015-06-16)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.0.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.0.1/builds/4chan-X-noupdate.crx "Chromium version")] - Merge v1.10.14.3: Fix words being cut off in non-Javascript captcha. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 95a1cd397..3316b293a 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 1b09ecb81..1d8dca8b3 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.11.0.1 +// @version 1.11.0.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 31e540421..2b4fcdda7 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.11.0.1 +// @version 1.11.0.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -399,7 +399,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.0.1', + VERSION: '1.11.0.2', NAMESPACE: '4chan X.', boards: {} }; @@ -7653,34 +7653,13 @@ return $.on(d, 'keydown', this.keybinds.bind(this)); }, fixImages: function() { - var focus, img, k, len1, ref; - if (!(this.images = $$('.rc-imageselect-target > div')).length) { - return; - } - focus = this.images[0].tabIndex !== 0; + var img, k, len1, ref; + this.images = $$('.rc-imageselect-target > div'); ref = this.images; for (k = 0, len1 = ref.length; k < len1; k++) { img = ref[k]; img.tabIndex = 0; } - if (focus) { - return $.queueTask((function(_this) { - return function() { - return _this.focusImage(); - }; - })(this)); - } - }, - focusImage: function() { - var img; - img = this.images[0]; - return $.asap(function() { - if (!doc.contains(img)) { - return true; - } - img.focus(); - return d.activeElement === img; - }, function() {}); }, keybinds: function(e) { var dx, reload, verify, x; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 34a46e26f..7c12fd4f8 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 efc946774..eaa8d06e8 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.11.0.1 +// @version 1.11.0.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -398,7 +398,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.0.1', + VERSION: '1.11.0.2', NAMESPACE: '4chan X.', boards: {} }; @@ -7652,34 +7652,13 @@ return $.on(d, 'keydown', this.keybinds.bind(this)); }, fixImages: function() { - var focus, img, k, len1, ref; - if (!(this.images = $$('.rc-imageselect-target > div')).length) { - return; - } - focus = this.images[0].tabIndex !== 0; + var img, k, len1, ref; + this.images = $$('.rc-imageselect-target > div'); ref = this.images; for (k = 0, len1 = ref.length; k < len1; k++) { img = ref[k]; img.tabIndex = 0; } - if (focus) { - return $.queueTask((function(_this) { - return function() { - return _this.focusImage(); - }; - })(this)); - } - }, - focusImage: function() { - var img; - img = this.images[0]; - return $.asap(function() { - if (!doc.contains(img)) { - return true; - } - img.focus(); - return d.activeElement === img; - }, function() {}); }, keybinds: function(e) { var dx, reload, verify, x; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 0f91f0fd7..049500efb 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 47c8af820..784c825da 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.11.0.1 +// @version 1.11.0.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index adf3b2fea..7a305a852 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.11.0.1 +// @version 1.11.0.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -399,7 +399,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.0.1', + VERSION: '1.11.0.2', NAMESPACE: '4chan X.', boards: {} }; @@ -7653,34 +7653,13 @@ return $.on(d, 'keydown', this.keybinds.bind(this)); }, fixImages: function() { - var focus, img, k, len1, ref; - if (!(this.images = $$('.rc-imageselect-target > div')).length) { - return; - } - focus = this.images[0].tabIndex !== 0; + var img, k, len1, ref; + this.images = $$('.rc-imageselect-target > div'); ref = this.images; for (k = 0, len1 = ref.length; k < len1; k++) { img = ref[k]; img.tabIndex = 0; } - if (focus) { - return $.queueTask((function(_this) { - return function() { - return _this.focusImage(); - }; - })(this)); - } - }, - focusImage: function() { - var img; - img = this.images[0]; - return $.asap(function() { - if (!doc.contains(img)) { - return true; - } - img.focus(); - return d.activeElement === img; - }, function() {}); }, keybinds: function(e) { var dx, reload, verify, x; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 63022a0da..479fc2cfb 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 181ecc209..919e038b5 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 23248da20..26ee6c395 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index 1e8251e70..ab98b067e 100755 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.11.0.1", - "date": "2015-06-16T17:48:44.746Z", + "version": "1.11.0.2", + "date": "2015-06-19T07:03:57.192Z", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",