diff --git a/4chan_x.user.js b/4chan_x.user.js index 1da15b9..0cafc6c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2357,7 +2357,7 @@ value: '' })); $.addClass(QR.el, 'captcha'); - $.globalEval('(function () {window.grecaptcha.render(document.getElementById("g-recaptcha"), {sitekey: "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc", theme: "light", callback: (' + (Conf['Auto Submit'] ? 'function (res) {var sb = document.getElementById("x_QR_Submit"); if(sb) sb.click(); }' : 'function (res) {}') + ') });})()'); + $.globalEval('(window.setTimeout(function () {window.grecaptcha.render(document.getElementById("g-recaptcha"), {sitekey: "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc", theme: "light", callback: (' + (Conf['Auto Submit'] ? 'function (res) {var sb = document.getElementById("x_QR_Submit"); if(sb) sb.click(); }' : 'function (res) {}') + ') });}),1000)()'); $.after($('.textarea', QR.el), $.id('g-recaptcha')); } else { $.addClass(QR.el, 'captcha');