diff --git a/CHANGELOG.md b/CHANGELOG.md index 07aa38077..57a65a9da 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor ### v1.11.13 +**v1.11.13.12** *(2015-10-30)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.12/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.12/builds/4chan-X-noupdate.crx "Chromium version")] +- Update for captcha changes. + **v1.11.13.11** *(2015-10-30)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.11/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.11/builds/4chan-X-noupdate.crx "Chromium version")] - Work around captcha bug causing captcha to go offscreen to the right. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index dd5034203..a74743785 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 71d88c712..a22600f21 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.13.11 +// @version 1.11.13.12 // @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 c8bff72df..6470df7c1 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.13.11 +// @version 1.11.13.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -413,7 +413,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.13.11', + VERSION: '1.11.13.12', NAMESPACE: '4chan X.', boards: {} }; @@ -7041,7 +7041,7 @@ var bubbles, ref; bubbles = $$('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); return (ref = d.activeElement, indexOf.call(bubbles, ref) >= 0) || bubbles.some(function(el) { - return el.getBoundingClientRect().bottom > 0; + return getComputedStyle(el).visibility !== 'hidden' && el.getBoundingClientRect().bottom > 0; }); }, inCaptcha: function() { @@ -8700,7 +8700,7 @@ fixBubble: function(node) { var bottom, newLeft, qrLeft, ref, right, width; ref = node.getBoundingClientRect(), bottom = ref.bottom, right = ref.right, width = ref.width; - if (bottom > 0 && right > doc.clientWidth) { + if (getComputedStyle(node).visibility !== 'hidden' && bottom > 0 && right > doc.clientWidth) { qrLeft = QR.nodes.el.getBoundingClientRect().left; newLeft = Math.max(0, qrLeft - width); return node.style.left = newLeft + "px"; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 6d86db8ea..1e4b996a7 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 c28c5f74d..ca69d1b2a 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.13.11 +// @version 1.11.13.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -413,7 +413,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.13.11', + VERSION: '1.11.13.12', NAMESPACE: '4chan X.', boards: {} }; @@ -7041,7 +7041,7 @@ var bubbles, ref; bubbles = $$('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); return (ref = d.activeElement, indexOf.call(bubbles, ref) >= 0) || bubbles.some(function(el) { - return el.getBoundingClientRect().bottom > 0; + return getComputedStyle(el).visibility !== 'hidden' && el.getBoundingClientRect().bottom > 0; }); }, inCaptcha: function() { @@ -8700,7 +8700,7 @@ fixBubble: function(node) { var bottom, newLeft, qrLeft, ref, right, width; ref = node.getBoundingClientRect(), bottom = ref.bottom, right = ref.right, width = ref.width; - if (bottom > 0 && right > doc.clientWidth) { + if (getComputedStyle(node).visibility !== 'hidden' && bottom > 0 && right > doc.clientWidth) { qrLeft = QR.nodes.el.getBoundingClientRect().left; newLeft = Math.max(0, qrLeft - width); return node.style.left = newLeft + "px"; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index a2fe6d0d7..de025368d 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 b35645edd..e47a55318 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.11.13.11 +// @version 1.11.13.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index e7f185b0e..bfaac2e4a 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.13.11 +// @version 1.11.13.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -413,7 +413,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.13.11', + VERSION: '1.11.13.12', NAMESPACE: '4chan X.', boards: {} }; @@ -7041,7 +7041,7 @@ var bubbles, ref; bubbles = $$('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); return (ref = d.activeElement, indexOf.call(bubbles, ref) >= 0) || bubbles.some(function(el) { - return el.getBoundingClientRect().bottom > 0; + return getComputedStyle(el).visibility !== 'hidden' && el.getBoundingClientRect().bottom > 0; }); }, inCaptcha: function() { @@ -8700,7 +8700,7 @@ fixBubble: function(node) { var bottom, newLeft, qrLeft, ref, right, width; ref = node.getBoundingClientRect(), bottom = ref.bottom, right = ref.right, width = ref.width; - if (bottom > 0 && right > doc.clientWidth) { + if (getComputedStyle(node).visibility !== 'hidden' && bottom > 0 && right > doc.clientWidth) { qrLeft = QR.nodes.el.getBoundingClientRect().left; newLeft = Math.max(0, qrLeft - width); return node.style.left = newLeft + "px"; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index c62cbe37c..a39e81c4d 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 0f7c5d075..e2b1bbaf1 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 00c680919..35d7e48b1 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index cc596119f..d3442b261 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "meta": { "name": "4chan X", "fork": "ccd0", - "version": "1.11.13.11", - "date": "2015-10-30T16:26:36.467Z", + "version": "1.11.13.12", + "date": "2015-10-30T19:04:59.871Z", "page": "https://www.4chan-x.net/", "downloads": "https://www.4chan-x.net/builds/", "oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",