Merge branch 'bstable'
This commit is contained in:
commit
e6c1f5502b
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
### v1.14.21
|
### 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)]
|
**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.
|
- Captcha related bugfixes.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.14.21.6
|
// @version 1.14.21.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.14.21.6
|
// @version 1.14.21.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -218,7 +218,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.21.6',
|
VERSION: '1.14.21.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
sites: Object.create(null),
|
sites: Object.create(null),
|
||||||
boards: Object.create(null)
|
boards: Object.create(null)
|
||||||
@ -23816,7 +23816,7 @@ Captcha = {};
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getOne: function() {
|
getOne: function() {
|
||||||
var i, key, len, ref, response;
|
var el, i, key, len, ref, response;
|
||||||
response = {};
|
response = {};
|
||||||
if (this.nodes.container) {
|
if (this.nodes.container) {
|
||||||
ref = ['t-response', 't-challenge'];
|
ref = ['t-response', 't-challenge'];
|
||||||
@ -23825,12 +23825,15 @@ Captcha = {};
|
|||||||
response[key] = $("[name='" + key + "']", this.nodes.container).value;
|
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;
|
response = null;
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
},
|
},
|
||||||
setUsed: function() {
|
setUsed: function() {
|
||||||
|
if (!this.isEnabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.nodes.container) {
|
if (this.nodes.container) {
|
||||||
return $.global(function() {
|
return $.global(function() {
|
||||||
return window.TCaptcha.clearChallenge();
|
return window.TCaptcha.clearChallenge();
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.21.6
|
// @version 1.14.21.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -218,7 +218,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.21.6',
|
VERSION: '1.14.21.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
sites: Object.create(null),
|
sites: Object.create(null),
|
||||||
boards: Object.create(null)
|
boards: Object.create(null)
|
||||||
@ -23816,7 +23816,7 @@ Captcha = {};
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getOne: function() {
|
getOne: function() {
|
||||||
var i, key, len, ref, response;
|
var el, i, key, len, ref, response;
|
||||||
response = {};
|
response = {};
|
||||||
if (this.nodes.container) {
|
if (this.nodes.container) {
|
||||||
ref = ['t-response', 't-challenge'];
|
ref = ['t-response', 't-challenge'];
|
||||||
@ -23825,12 +23825,15 @@ Captcha = {};
|
|||||||
response[key] = $("[name='" + key + "']", this.nodes.container).value;
|
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;
|
response = null;
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
},
|
},
|
||||||
setUsed: function() {
|
setUsed: function() {
|
||||||
|
if (!this.isEnabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.nodes.container) {
|
if (this.nodes.container) {
|
||||||
return $.global(function() {
|
return $.global(function() {
|
||||||
return window.TCaptcha.clearChallenge();
|
return window.TCaptcha.clearChallenge();
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.21.6
|
// @version 1.14.21.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.21.6
|
// @version 1.14.21.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -218,7 +218,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.21.6',
|
VERSION: '1.14.21.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
sites: Object.create(null),
|
sites: Object.create(null),
|
||||||
boards: Object.create(null)
|
boards: Object.create(null)
|
||||||
@ -23816,7 +23816,7 @@ Captcha = {};
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getOne: function() {
|
getOne: function() {
|
||||||
var i, key, len, ref, response;
|
var el, i, key, len, ref, response;
|
||||||
response = {};
|
response = {};
|
||||||
if (this.nodes.container) {
|
if (this.nodes.container) {
|
||||||
ref = ['t-response', 't-challenge'];
|
ref = ['t-response', 't-challenge'];
|
||||||
@ -23825,12 +23825,15 @@ Captcha = {};
|
|||||||
response[key] = $("[name='" + key + "']", this.nodes.container).value;
|
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;
|
response = null;
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
},
|
},
|
||||||
setUsed: function() {
|
setUsed: function() {
|
||||||
|
if (!this.isEnabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.nodes.container) {
|
if (this.nodes.container) {
|
||||||
return $.global(function() {
|
return $.global(function() {
|
||||||
return window.TCaptcha.clearChallenge();
|
return window.TCaptcha.clearChallenge();
|
||||||
|
|||||||
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
"4chan-x@4chan-x.net": {
|
"4chan-x@4chan-x.net": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"version": "1.14.21.6",
|
"version": "1.14.21.7",
|
||||||
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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.14.21.6' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.21.7' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"4chan-x@4chan-x.net": {
|
"4chan-x@4chan-x.net": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"version": "1.14.21.6",
|
"version": "1.14.21.7",
|
||||||
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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.14.21.6' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.21.7' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -60,11 +60,12 @@ Captcha.t =
|
|||||||
if @nodes.container
|
if @nodes.container
|
||||||
for key in ['t-response', 't-challenge']
|
for key in ['t-response', 't-challenge']
|
||||||
response[key] = $("[name='#{key}']", @nodes.container).value
|
response[key] = $("[name='#{key}']", @nodes.container).value
|
||||||
if !response['t-response']
|
if !response['t-response'] and !((el = $('#t-msg')) and /Verification not required/i.test(el.textContent))
|
||||||
response = null
|
response = null
|
||||||
response
|
response
|
||||||
|
|
||||||
setUsed: ->
|
setUsed: ->
|
||||||
|
return unless @isEnabled
|
||||||
if @nodes.container
|
if @nodes.container
|
||||||
$.global ->
|
$.global ->
|
||||||
window.TCaptcha.clearChallenge()
|
window.TCaptcha.clearChallenge()
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.14.21.6",
|
"version": "1.14.21.7",
|
||||||
"date": "2021-07-08T03:54:56.178Z"
|
"date": "2021-07-08T16:47:58.291Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user