Update comment. You can read the timeout in seconde in the recaptcha script/object. Unfortunately 4chan X cannot access it.
This commit is contained in:
parent
33cfbe8220
commit
2af711f8af
@ -1639,8 +1639,8 @@
|
||||
content = $('textarea', qr.el).value || $('input[type=file]', qr.el).files.length;
|
||||
if (!content) return 'Error: No text entered.';
|
||||
/*
|
||||
captchas expire after 30 minutes (emperically verified). cutoff 5 minutes
|
||||
before then, b/c posting takes time.
|
||||
captchas expire after 30 minutes, see window.RecaptchaState.timeout.
|
||||
cutoff 5 minutes before then, b/c posting takes time.
|
||||
*/
|
||||
cutoff = Date.now() - 25 * MINUTE;
|
||||
captchas = $.get('captchas', []);
|
||||
|
||||
@ -1274,8 +1274,8 @@ qr =
|
||||
return 'Error: No text entered.' unless content
|
||||
|
||||
###
|
||||
captchas expire after 30 minutes (emperically verified). cutoff 5 minutes
|
||||
before then, b/c posting takes time.
|
||||
captchas expire after 30 minutes, see window.RecaptchaState.timeout.
|
||||
cutoff 5 minutes before then, b/c posting takes time.
|
||||
###
|
||||
|
||||
cutoff = Date.now() - 25*MINUTE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user