diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1b3abd59..6527c4a5b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@
### v1.14.21
+**v1.14.21.7** *(2021-07-08)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.7/builds/4chan-X-noupdate.crx)]
+- Don't warn on posting without captcha when "Verification not required."
+- Fix error reported in #3124.
+
**v1.14.21.6** *(2021-07-08)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.6/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.6/builds/4chan-X-noupdate.crx)]
- Captcha related bugfixes.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index a00d2701d..4cb00179b 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 6cafeef94..7b0677f8f 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.14.21.6
+// @version 1.14.21.7
// @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 d40fd2de2..151f1b5ff 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.14.21.6
+// @version 1.14.21.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -218,7 +218,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.21.6',
+ VERSION: '1.14.21.7',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -23816,7 +23816,7 @@ Captcha = {};
}
},
getOne: function() {
- var i, key, len, ref, response;
+ var el, i, key, len, ref, response;
response = {};
if (this.nodes.container) {
ref = ['t-response', 't-challenge'];
@@ -23825,12 +23825,15 @@ Captcha = {};
response[key] = $("[name='" + key + "']", this.nodes.container).value;
}
}
- if (!response['t-response']) {
+ if (!response['t-response'] && !((el = $('#t-msg')) && /Verification not required/i.test(el.textContent))) {
response = null;
}
return response;
},
setUsed: function() {
+ if (!this.isEnabled) {
+ return;
+ }
if (this.nodes.container) {
return $.global(function() {
return window.TCaptcha.clearChallenge();
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index a05a513b6..374a79f76 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 52ca61474..b70cbada8 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.21.6
+// @version 1.14.21.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -218,7 +218,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.21.6',
+ VERSION: '1.14.21.7',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -23816,7 +23816,7 @@ Captcha = {};
}
},
getOne: function() {
- var i, key, len, ref, response;
+ var el, i, key, len, ref, response;
response = {};
if (this.nodes.container) {
ref = ['t-response', 't-challenge'];
@@ -23825,12 +23825,15 @@ Captcha = {};
response[key] = $("[name='" + key + "']", this.nodes.container).value;
}
}
- if (!response['t-response']) {
+ if (!response['t-response'] && !((el = $('#t-msg')) && /Verification not required/i.test(el.textContent))) {
response = null;
}
return response;
},
setUsed: function() {
+ if (!this.isEnabled) {
+ return;
+ }
if (this.nodes.container) {
return $.global(function() {
return window.TCaptcha.clearChallenge();
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index a7c540ce1..00a11fd1e 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 59b585c44..796b55327 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.21.6
+// @version 1.14.21.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 154f86301..d5ada750f 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.21.6
+// @version 1.14.21.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -218,7 +218,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.21.6',
+ VERSION: '1.14.21.7',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -23816,7 +23816,7 @@ Captcha = {};
}
},
getOne: function() {
- var i, key, len, ref, response;
+ var el, i, key, len, ref, response;
response = {};
if (this.nodes.container) {
ref = ['t-response', 't-challenge'];
@@ -23825,12 +23825,15 @@ Captcha = {};
response[key] = $("[name='" + key + "']", this.nodes.container).value;
}
}
- if (!response['t-response']) {
+ if (!response['t-response'] && !((el = $('#t-msg')) && /Verification not required/i.test(el.textContent))) {
response = null;
}
return response;
},
setUsed: function() {
+ if (!this.isEnabled) {
+ return;
+ }
if (this.nodes.container) {
return $.global(function() {
return window.TCaptcha.clearChallenge();
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index df22229b3..7900a7391 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.json b/builds/updates-beta.json
index 6b6dcf8f8..1c9d23bd5 100644
--- a/builds/updates-beta.json
+++ b/builds/updates-beta.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.21.6",
+ "version": "1.14.21.7",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 12a5920f8..a822599a6 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.json b/builds/updates.json
index 76c47126f..66fa4f740 100644
--- a/builds/updates.json
+++ b/builds/updates.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.21.6",
+ "version": "1.14.21.7",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]
diff --git a/builds/updates.xml b/builds/updates.xml
index f4140dea2..dbf4806f0 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index e7dba0a9c..9c804866a 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.14.21.6",
- "date": "2021-07-08T03:54:56.178Z"
+ "version": "1.14.21.7",
+ "date": "2021-07-08T16:47:58.291Z"
}
\ No newline at end of file