diff --git a/CHANGELOG.md b/CHANGELOG.md index df56be787..3195ead4c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The links to individual versions below are to copies of the script with the upda ### v1.10.9 +**v1.10.9.2** *(2015-04-16)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.9.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.9.2/builds/4chan-X-noupdate.crx "Chromium version")] +- (aCarbon) Normal report size box if pass is logged in. +- Clean up leftover Recaptcha iframes to prevent memory leak. + **v1.10.9.1** *(2015-04-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.9.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.9.1/builds/4chan-X-noupdate.crx "Chromium version")] - Merge v1.10.8.11: Increase report window size to accomodate increasingly common image captchas. - Fix report window closing before redirect. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index aae6ef9db..bc36889c8 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 d9d87a30f..073ce5aff 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.9.1 +// @version 1.10.9.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 7d3f59f42..0bfa26221 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.9.1 +// @version 1.10.9.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -397,7 +397,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.9.1', + VERSION: '1.10.9.2', NAMESPACE: '4chan X.', boards: {} }; @@ -8071,6 +8071,7 @@ })(this)); }, destroy: function() { + var garbage, ins, k, len1, ref; if (!this.isEnabled) { return; } @@ -8079,7 +8080,15 @@ if (this.nodes.container) { $.rm(this.nodes.container); } - return delete this.nodes.container; + delete this.nodes.container; + ref = $$('div > .gc-bubbleDefault'); + for (k = 0, len1 = ref.length; k < len1; k++) { + garbage = ref[k]; + if ((ins = garbage.parentNode.nextSibling) && ins.nodeName === 'INS') { + $.rm(ins); + } + $.rm(garbage.parentNode); + } }, sync: function(captchas) { if (captchas == null) { @@ -11689,10 +11698,11 @@ }); }, report: function() { - var id, set, url; + var height, id, set, url; url = ReportLink.url; id = Date.now(); - set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=675"; + height = d.cookie.indexOf('pass_enabled=1') >= 0 ? 200 : 675; + set = "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width=685,height=" + height; return window.open(url, id, set); } }; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 50a58e3ce..3fe49c1f8 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 5b5f0a989..ce62b6778 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.9.1 +// @version 1.10.9.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -396,7 +396,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.9.1', + VERSION: '1.10.9.2', NAMESPACE: '4chan X.', boards: {} }; @@ -8070,6 +8070,7 @@ })(this)); }, destroy: function() { + var garbage, ins, k, len1, ref; if (!this.isEnabled) { return; } @@ -8078,7 +8079,15 @@ if (this.nodes.container) { $.rm(this.nodes.container); } - return delete this.nodes.container; + delete this.nodes.container; + ref = $$('div > .gc-bubbleDefault'); + for (k = 0, len1 = ref.length; k < len1; k++) { + garbage = ref[k]; + if ((ins = garbage.parentNode.nextSibling) && ins.nodeName === 'INS') { + $.rm(ins); + } + $.rm(garbage.parentNode); + } }, sync: function(captchas) { if (captchas == null) { @@ -11688,10 +11697,11 @@ }); }, report: function() { - var id, set, url; + var height, id, set, url; url = ReportLink.url; id = Date.now(); - set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=675"; + height = d.cookie.indexOf('pass_enabled=1') >= 0 ? 200 : 675; + set = "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width=685,height=" + height; return window.open(url, id, set); } }; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index de3a54997..ce86d1f85 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 4fb19d255..ecc17c997 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.10.9.1 +// @version 1.10.9.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index c42e9a722..f16db7df3 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.9.1 +// @version 1.10.9.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -397,7 +397,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.9.1', + VERSION: '1.10.9.2', NAMESPACE: '4chan X.', boards: {} }; @@ -8071,6 +8071,7 @@ })(this)); }, destroy: function() { + var garbage, ins, k, len1, ref; if (!this.isEnabled) { return; } @@ -8079,7 +8080,15 @@ if (this.nodes.container) { $.rm(this.nodes.container); } - return delete this.nodes.container; + delete this.nodes.container; + ref = $$('div > .gc-bubbleDefault'); + for (k = 0, len1 = ref.length; k < len1; k++) { + garbage = ref[k]; + if ((ins = garbage.parentNode.nextSibling) && ins.nodeName === 'INS') { + $.rm(ins); + } + $.rm(garbage.parentNode); + } }, sync: function(captchas) { if (captchas == null) { @@ -11689,10 +11698,11 @@ }); }, report: function() { - var id, set, url; + var height, id, set, url; url = ReportLink.url; id = Date.now(); - set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=675"; + height = d.cookie.indexOf('pass_enabled=1') >= 0 ? 200 : 675; + set = "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width=685,height=" + height; return window.open(url, id, set); } }; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 8c29aaedf..0d5d38b02 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 30ea7b3a5..f99537264 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 5e7aa81db..183097dd5 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index a6e8d771e..37705148f 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.9.1", - "date": "2015-04-16T05:38:18.872Z", + "version": "1.10.9.2", + "date": "2015-04-16T23:44:25.631Z", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",