Release 4chan X v1.11.22.3.

This commit is contained in:
ccd0 2016-01-18 09:12:07 -08:00
parent d1d8a416f0
commit 5333024b23
13 changed files with 24 additions and 30 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.22 ### v1.11.22
**v1.11.22.3** *(2016-01-18)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.22.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.22.3/builds/4chan-X-noupdate.crx "Chromium version")]
- Report captcha related bug fixes.
**v1.11.22.2** *(2016-01-18)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.22.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.22.2/builds/4chan-X-noupdate.crx "Chromium version")] **v1.11.22.2** *(2016-01-18)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.22.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.22.2/builds/4chan-X-noupdate.crx "Chromium version")]
- Update due to 4chan changing to Recaptcha v2 on report form. - Update due to 4chan changing to Recaptcha v2 on report form.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.11.22.2 // @version 1.11.22.3
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.11.22.2 // @version 1.11.22.3
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -434,7 +434,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.22.2', VERSION: '1.11.22.3',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -12849,7 +12849,7 @@
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) { if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
a.textContent = 'Report'; a.textContent = 'Report';
ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post; ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
ReportLink.dims = 'width=400,height=550'; ReportLink.dims = Conf['Use Recaptcha v1 in Reports'] || d.cookie.indexOf('pass_enabled=1') >= 0 ? 'width=350,height=275' : 'width=400,height=550';
} else if (Conf['Archive Report']) { } else if (Conf['Archive Report']) {
a.textContent = 'Report to archive'; a.textContent = 'Report to archive';
ReportLink.url = Redirect.to('report', { ReportLink.url = Redirect.to('report', {
@ -16558,7 +16558,7 @@
}) })
]); ]);
} }
if (Conf['Use Recaptcha v2 in Reports'] && !Conf['Force Noscript Captcha'] && Main.jsEnabled) { if (!Conf['Use Recaptcha v1 in Reports'] && !Conf['Force Noscript Captcha'] && Main.jsEnabled) {
new MutationObserver(function() { new MutationObserver(function() {
Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]');
return Report.fit('body'); return Report.fit('body');
@ -16570,11 +16570,8 @@
} else { } else {
Report.fit('body'); Report.fit('body');
} }
if (!Conf['Use Recaptcha v2 in Reports'] && Main.jsEnabled && d.cookie.indexOf('pass_enabled=1') < 0) { if (Conf['Use Recaptcha v1 in Reports'] && Main.jsEnabled && d.cookie.indexOf('pass_enabled=1') < 0) {
$.onExists(d.body, '#recaptcha_image', function(image) { $.onExists(d.body, '#recaptcha_image', function(image) {
$.global(function() {
return document.getElementById('recaptcha_image').removeEventListener('click', window.onAltCaptchaClick, false);
});
return $.on(image, 'click', function() { return $.on(image, 'click', function() {
if ($.id('recaptcha_challenge_image')) { if ($.id('recaptcha_challenge_image')) {
return $.global(function() { return $.global(function() {

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.22.2 // @version 1.11.22.3
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -434,7 +434,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.22.2', VERSION: '1.11.22.3',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -12849,7 +12849,7 @@
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) { if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
a.textContent = 'Report'; a.textContent = 'Report';
ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post; ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
ReportLink.dims = 'width=400,height=550'; ReportLink.dims = Conf['Use Recaptcha v1 in Reports'] || d.cookie.indexOf('pass_enabled=1') >= 0 ? 'width=350,height=275' : 'width=400,height=550';
} else if (Conf['Archive Report']) { } else if (Conf['Archive Report']) {
a.textContent = 'Report to archive'; a.textContent = 'Report to archive';
ReportLink.url = Redirect.to('report', { ReportLink.url = Redirect.to('report', {
@ -16558,7 +16558,7 @@
}) })
]); ]);
} }
if (Conf['Use Recaptcha v2 in Reports'] && !Conf['Force Noscript Captcha'] && Main.jsEnabled) { if (!Conf['Use Recaptcha v1 in Reports'] && !Conf['Force Noscript Captcha'] && Main.jsEnabled) {
new MutationObserver(function() { new MutationObserver(function() {
Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]');
return Report.fit('body'); return Report.fit('body');
@ -16570,11 +16570,8 @@
} else { } else {
Report.fit('body'); Report.fit('body');
} }
if (!Conf['Use Recaptcha v2 in Reports'] && Main.jsEnabled && d.cookie.indexOf('pass_enabled=1') < 0) { if (Conf['Use Recaptcha v1 in Reports'] && Main.jsEnabled && d.cookie.indexOf('pass_enabled=1') < 0) {
$.onExists(d.body, '#recaptcha_image', function(image) { $.onExists(d.body, '#recaptcha_image', function(image) {
$.global(function() {
return document.getElementById('recaptcha_image').removeEventListener('click', window.onAltCaptchaClick, false);
});
return $.on(image, 'click', function() { return $.on(image, 'click', function() {
if ($.id('recaptcha_challenge_image')) { if ($.id('recaptcha_challenge_image')) {
return $.global(function() { return $.global(function() {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.22.2 // @version 1.11.22.3
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.22.2 // @version 1.11.22.3
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -434,7 +434,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.22.2', VERSION: '1.11.22.3',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -12849,7 +12849,7 @@
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) { if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
a.textContent = 'Report'; a.textContent = 'Report';
ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post; ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
ReportLink.dims = 'width=400,height=550'; ReportLink.dims = Conf['Use Recaptcha v1 in Reports'] || d.cookie.indexOf('pass_enabled=1') >= 0 ? 'width=350,height=275' : 'width=400,height=550';
} else if (Conf['Archive Report']) { } else if (Conf['Archive Report']) {
a.textContent = 'Report to archive'; a.textContent = 'Report to archive';
ReportLink.url = Redirect.to('report', { ReportLink.url = Redirect.to('report', {
@ -16558,7 +16558,7 @@
}) })
]); ]);
} }
if (Conf['Use Recaptcha v2 in Reports'] && !Conf['Force Noscript Captcha'] && Main.jsEnabled) { if (!Conf['Use Recaptcha v1 in Reports'] && !Conf['Force Noscript Captcha'] && Main.jsEnabled) {
new MutationObserver(function() { new MutationObserver(function() {
Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]'); Report.fit('iframe[src^="https://www.google.com/recaptcha/api2/frame"]');
return Report.fit('body'); return Report.fit('body');
@ -16570,11 +16570,8 @@
} else { } else {
Report.fit('body'); Report.fit('body');
} }
if (!Conf['Use Recaptcha v2 in Reports'] && Main.jsEnabled && d.cookie.indexOf('pass_enabled=1') < 0) { if (Conf['Use Recaptcha v1 in Reports'] && Main.jsEnabled && d.cookie.indexOf('pass_enabled=1') < 0) {
$.onExists(d.body, '#recaptcha_image', function(image) { $.onExists(d.body, '#recaptcha_image', function(image) {
$.global(function() {
return document.getElementById('recaptcha_image').removeEventListener('click', window.onAltCaptchaClick, false);
});
return $.on(image, 'click', function() { return $.on(image, 'click', function() {
if ($.id('recaptcha_challenge_image')) { if ($.id('recaptcha_challenge_image')) {
return $.global(function() { return $.global(function() {

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'> <app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.22.2' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.22.3' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'> <app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.22.2' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.22.3' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,4 +1,4 @@
{ {
"version": "1.11.22.2", "version": "1.11.22.3",
"date": "2016-01-18T16:37:54.258Z" "date": "2016-01-18T17:11:07.511Z"
} }