diff --git a/CHANGELOG.md b/CHANGELOG.md index f00a06921..3f85fa281 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor ### v1.11.15 +**v1.11.15.5** *(2015-11-05)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.5/builds/4chan-X-noupdate.crx "Chromium version")] +- Update report window resizing for recent captcha changes. + **v1.11.15.4** *(2015-11-05)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.15.4/builds/4chan-X-noupdate.crx "Chromium version")] - Work around new Recaptcha bug interfering with focusing on submit button. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 0463bffab..4c2e67a86 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 f18f8abaf..439955bc6 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.15.4 +// @version 1.11.15.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 69d4835cc..5b9f501b4 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.15.4 +// @version 1.11.15.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -415,7 +415,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.15.4', + VERSION: '1.11.15.5', NAMESPACE: '4chan X.', boards: {} }; @@ -16314,7 +16314,8 @@ } if (Conf['Use Recaptcha v2 in Reports'] && $.hasClass(doc, 'js-enabled')) { return new MutationObserver(function() { - return Report.fit('.gc-bubbleDefault'); + Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); + return Report.fit('body'); }).observe(d.body, { childList: true, attributes: true, @@ -16326,7 +16327,7 @@ }, fit: function(selector) { var dy, el; - if (!(el = $(selector, doc))) { + if (!((el = $(selector, doc)) && getComputedStyle(el).visibility !== 'hidden')) { return; } dy = el.getBoundingClientRect().bottom - doc.clientHeight + 8; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 311ffcc1d..1636613a0 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 207fdc031..fe509c3c3 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.15.4 +// @version 1.11.15.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -415,7 +415,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.15.4', + VERSION: '1.11.15.5', NAMESPACE: '4chan X.', boards: {} }; @@ -16314,7 +16314,8 @@ } if (Conf['Use Recaptcha v2 in Reports'] && $.hasClass(doc, 'js-enabled')) { return new MutationObserver(function() { - return Report.fit('.gc-bubbleDefault'); + Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); + return Report.fit('body'); }).observe(d.body, { childList: true, attributes: true, @@ -16326,7 +16327,7 @@ }, fit: function(selector) { var dy, el; - if (!(el = $(selector, doc))) { + if (!((el = $(selector, doc)) && getComputedStyle(el).visibility !== 'hidden')) { return; } dy = el.getBoundingClientRect().bottom - doc.clientHeight + 8; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 38ab0c8d6..c3e9ac5ef 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 bf0a7bf7a..27da5752c 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.11.15.4 +// @version 1.11.15.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 63948d146..3e95767c6 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.15.4 +// @version 1.11.15.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -415,7 +415,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.15.4', + VERSION: '1.11.15.5', NAMESPACE: '4chan X.', boards: {} }; @@ -16314,7 +16314,8 @@ } if (Conf['Use Recaptcha v2 in Reports'] && $.hasClass(doc, 'js-enabled')) { return new MutationObserver(function() { - return Report.fit('.gc-bubbleDefault'); + Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); + return Report.fit('body'); }).observe(d.body, { childList: true, attributes: true, @@ -16326,7 +16327,7 @@ }, fit: function(selector) { var dy, el; - if (!(el = $(selector, doc))) { + if (!((el = $(selector, doc)) && getComputedStyle(el).visibility !== 'hidden')) { return; } dy = el.getBoundingClientRect().bottom - doc.clientHeight + 8; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index cfcdd53b9..5baf0a255 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 c40a55a28..6838f1856 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 fb1282cd5..d3892ac09 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index f5af5aaef..36feedbbb 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.11.15.4", - "date": "2015-11-05T18:55:42.931Z" + "version": "1.11.15.5", + "date": "2015-11-06T06:11:49.011Z" }