From e09a5720bd0dddc48390adf00685168d82d11a5a Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 27 Feb 2013 16:21:53 +0100 Subject: [PATCH] Disable spellcheck on the captcha input. Especially annoying on mobile devices. --- 4chan_x.user.js | 3 ++- src/qr.coffee | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 240f75585..930246e3d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -6379,7 +6379,8 @@ input = $.el('input', { className: 'captcha-input field', title: 'Verification', - autocomplete: 'off' + autocomplete: 'off', + spellcheck: false }); this.nodes = { challenge: $.id('recaptcha_challenge_field_holder'), diff --git a/src/qr.coffee b/src/qr.coffee index def52a63b..db47f1691 100644 --- a/src/qr.coffee +++ b/src/qr.coffee @@ -571,6 +571,7 @@ QR = className: 'captcha-input field' title: 'Verification' autocomplete: 'off' + spellcheck: false @nodes = challenge: $.id 'recaptcha_challenge_field_holder' img: imgContainer.firstChild