From 280d8b3d52b20d2e0d9bbcf92f84f75af32bf89a Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 2 Sep 2011 20:02:08 -0700 Subject: [PATCH] hidden iframe --- 4chan_x.user.js | 3 ++- script.coffee | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 8d1d4bdd4..8c1e9f361 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1233,7 +1233,8 @@ return $.bind(quote, 'click', QR.quote); }); $.append(d.body, $.el('iframe', { - name: 'iframe' + name: 'iframe', + hidden: true })); $.bind(window, 'message', QR.receive); $('#recaptcha_response_field').id = ''; diff --git a/script.coffee b/script.coffee index 6cf1d2cd8..c48814327 100644 --- a/script.coffee +++ b/script.coffee @@ -968,6 +968,7 @@ QR = $.bind quote, 'click', QR.quote $.append d.body, $.el 'iframe', name: 'iframe' + hidden: true $.bind window, 'message', QR.receive # nuke id so qr's field focuses on recaptcha reload, instead of normal form's $('#recaptcha_response_field').id = ''