diff --git a/CHANGELOG.md b/CHANGELOG.md index 50c3f4652..ba43bfd0c 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.10.10 +**v1.10.10.2** *(2015-04-21)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.2/builds/4chan-X-noupdate.crx "Chromium version")] +- Add focus indication to verify button in captcha popup. + **v1.10.10.1** *(2015-04-19)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.10.1/builds/4chan-X-noupdate.crx "Chromium version")] - Merge v1.10.9.5: (thebladeee) Archive list: Transferred /w/ and /wg/ back to Nyafuu. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index e85105200..5505e9b86 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 3b11f6ac4..71eaa6718 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.10.10.1 +// @version 1.10.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 98b3471bd..4b202186e 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.10.10.1 +// @version 1.10.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -399,7 +399,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.10.1', + VERSION: '1.10.10.2', NAMESPACE: '4chan X.', boards: {} }; @@ -7604,9 +7604,7 @@ Captcha = {}; Captcha.fixes = { - selectors: { - image: '.rc-imageselect-target > .rc-imageselect-tile > img' - }, + css: '.rc-imageselect-target > .rc-imageselect-tile > img:focus {\n outline: 2px solid #4a90e2;\n}\n.rc-button-default:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}', init: function() { switch (location.pathname.split('/')[3]) { case 'anchor': @@ -7630,7 +7628,7 @@ }); }, initPopup: function() { - $.addStyle(this.selectors.image + ":focus {outline: 2px solid #4a90e2;}"); + $.addStyle(this.css); this.fixImages(); new MutationObserver((function(_this) { return function() { @@ -7644,7 +7642,7 @@ }, fixImages: function() { var focus, img, k, len1, ref; - if (!(this.images = $$(this.selectors.image)).length) { + if (!(this.images = $$('.rc-imageselect-target > .rc-imageselect-tile > img')).length) { return; } focus = this.images[0].tabIndex !== 0; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 6f6da93b5..5e0298d9f 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 ce7a109e8..1f97fce50 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.10.10.1 +// @version 1.10.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -398,7 +398,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.10.1', + VERSION: '1.10.10.2', NAMESPACE: '4chan X.', boards: {} }; @@ -7603,9 +7603,7 @@ Captcha = {}; Captcha.fixes = { - selectors: { - image: '.rc-imageselect-target > .rc-imageselect-tile > img' - }, + css: '.rc-imageselect-target > .rc-imageselect-tile > img:focus {\n outline: 2px solid #4a90e2;\n}\n.rc-button-default:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}', init: function() { switch (location.pathname.split('/')[3]) { case 'anchor': @@ -7629,7 +7627,7 @@ }); }, initPopup: function() { - $.addStyle(this.selectors.image + ":focus {outline: 2px solid #4a90e2;}"); + $.addStyle(this.css); this.fixImages(); new MutationObserver((function(_this) { return function() { @@ -7643,7 +7641,7 @@ }, fixImages: function() { var focus, img, k, len1, ref; - if (!(this.images = $$(this.selectors.image)).length) { + if (!(this.images = $$('.rc-imageselect-target > .rc-imageselect-tile > img')).length) { return; } focus = this.images[0].tabIndex !== 0; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 72a4d9c64..93823df37 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 977cf3066..f02d3603c 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.10.10.1 +// @version 1.10.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 4551de0d1..d6caeca4a 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.10.10.1 +// @version 1.10.10.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -399,7 +399,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.10.1', + VERSION: '1.10.10.2', NAMESPACE: '4chan X.', boards: {} }; @@ -7604,9 +7604,7 @@ Captcha = {}; Captcha.fixes = { - selectors: { - image: '.rc-imageselect-target > .rc-imageselect-tile > img' - }, + css: '.rc-imageselect-target > .rc-imageselect-tile > img:focus {\n outline: 2px solid #4a90e2;\n}\n.rc-button-default:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}', init: function() { switch (location.pathname.split('/')[3]) { case 'anchor': @@ -7630,7 +7628,7 @@ }); }, initPopup: function() { - $.addStyle(this.selectors.image + ":focus {outline: 2px solid #4a90e2;}"); + $.addStyle(this.css); this.fixImages(); new MutationObserver((function(_this) { return function() { @@ -7644,7 +7642,7 @@ }, fixImages: function() { var focus, img, k, len1, ref; - if (!(this.images = $$(this.selectors.image)).length) { + if (!(this.images = $$('.rc-imageselect-target > .rc-imageselect-tile > img')).length) { return; } focus = this.images[0].tabIndex !== 0; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index b6dcf2e32..bffbfbc11 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 bd72f2978..0e0010c56 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 9ef223671..7364d0dcb 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index d2ef8e716..29353e975 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.10.10.1", - "date": "2015-04-20T05:04:46.338Z", + "version": "1.10.10.2", + "date": "2015-04-21T07:37:58.778Z", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",