'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@@ -13335,7 +13323,7 @@
}
if (previousversion) {
el = $.el('span', {
- innerHTML: '4chan X has been updated to version 1.7.53.'
+ innerHTML: '4chan X has been updated to version 1.7.54.'
});
new Notice('info', el, 15);
} else {
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 01dd8694d..51a642e3d 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/crx.crx b/builds/crx.crx
index 73ed8c7b3..392b29741 100644
Binary files a/builds/crx.crx and b/builds/crx.crx differ
diff --git a/builds/crx/manifest.json b/builds/crx/manifest.json
index ae53fee9f..b899d58ec 100755
--- a/builds/crx/manifest.json
+++ b/builds/crx/manifest.json
@@ -1,6 +1,6 @@
{
"name": "4chan X",
- "version": "1.7.53",
+ "version": "1.7.54",
"manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": {
diff --git a/builds/crx/script.js b/builds/crx/script.js
index b395adc8a..a5954a023 100644
--- a/builds/crx/script.js
+++ b/builds/crx/script.js
@@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
-* 4chan X - Version 1.7.53 - 2014-06-08
+* 4chan X - Version 1.7.54 - 2014-06-09
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@@ -348,7 +348,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.7.53',
+ VERSION: '1.7.54',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -6828,9 +6828,6 @@
}
}
}
- if (response) {
- response = response.trim();
- }
return {
challenge: challenge,
response: response
@@ -6838,7 +6835,7 @@
},
save: function() {
var response;
- if (!(response = this.nodes.input.value.trim())) {
+ if (!/\S/.test(response = this.nodes.input.value)) {
return;
}
this.nodes.input.value = '';
@@ -12313,20 +12310,11 @@
ready: function() {
var field;
field = $.id('recaptcha_response_field');
- $.on(field, 'keydown', function(e) {
+ return $.on(field, 'keydown', function(e) {
if (e.keyCode === 8 && !field.value) {
- return $.globalEval('Recaptcha.reload("t")');
+ return $.globalEval('Recaptcha.reload()');
}
});
- return $.on($('form'), 'submit', function(e) {
- var response;
- e.preventDefault();
- response = field.value.trim();
- if (!/\s/.test(response)) {
- field.value = "" + response + " " + response;
- }
- return this.submit();
- });
}
};
@@ -12466,7 +12454,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
- innerHTML: '
'
+ innerHTML: '
'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@@ -13298,7 +13286,7 @@
}
if (previousversion) {
el = $.el('span', {
- innerHTML: '4chan X has been updated to version 1.7.53.'
+ innerHTML: '4chan X has been updated to version 1.7.54.'
});
new Notice('info', el, 15);
} else {
diff --git a/builds/updates.xml b/builds/updates.xml
index 74306e83c..95ba47336 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/wcrx/manifest.json b/builds/wcrx/manifest.json
index 79174f2ed..4781a2368 100644
--- a/builds/wcrx/manifest.json
+++ b/builds/wcrx/manifest.json
@@ -1,6 +1,6 @@
{
"name": "4chan X",
- "version": "1.7.53",
+ "version": "1.7.54",
"manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": {
diff --git a/builds/wcrx/script.js b/builds/wcrx/script.js
index b395adc8a..a5954a023 100644
--- a/builds/wcrx/script.js
+++ b/builds/wcrx/script.js
@@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
-* 4chan X - Version 1.7.53 - 2014-06-08
+* 4chan X - Version 1.7.54 - 2014-06-09
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@@ -348,7 +348,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.7.53',
+ VERSION: '1.7.54',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -6828,9 +6828,6 @@
}
}
}
- if (response) {
- response = response.trim();
- }
return {
challenge: challenge,
response: response
@@ -6838,7 +6835,7 @@
},
save: function() {
var response;
- if (!(response = this.nodes.input.value.trim())) {
+ if (!/\S/.test(response = this.nodes.input.value)) {
return;
}
this.nodes.input.value = '';
@@ -12313,20 +12310,11 @@
ready: function() {
var field;
field = $.id('recaptcha_response_field');
- $.on(field, 'keydown', function(e) {
+ return $.on(field, 'keydown', function(e) {
if (e.keyCode === 8 && !field.value) {
- return $.globalEval('Recaptcha.reload("t")');
+ return $.globalEval('Recaptcha.reload()');
}
});
- return $.on($('form'), 'submit', function(e) {
- var response;
- e.preventDefault();
- response = field.value.trim();
- if (!/\s/.test(response)) {
- field.value = "" + response + " " + response;
- }
- return this.submit();
- });
}
};
@@ -12466,7 +12454,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
- innerHTML: '
'
+ innerHTML: '
'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@@ -13298,7 +13286,7 @@
}
if (previousversion) {
el = $.el('span', {
- innerHTML: '4chan X has been updated to version 1.7.53.'
+ innerHTML: '4chan X has been updated to version 1.7.54.'
});
new Notice('info', el, 15);
} else {
diff --git a/package.json b/package.json
index 52e6380eb..6b1241cc7 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "4chan-X",
- "version": "1.7.53",
+ "version": "1.7.54",
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",