From cae19a61450e93096e5a3f1a656da1e00f8d86ea Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 4 Sep 2011 03:52:36 -0700 Subject: [PATCH] hide all the inputs --- 4chan_x.user.js | 8 ++++++-- script.coffee | 15 ++++++++++----- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 5bc87588f..8f64b7179 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1406,7 +1406,7 @@ QR.qr = qr = ui.dialog('qr', { top: '0', left: '0' - }, " X
Subject Name Email
120 Captchas
Derp
"); + }, "
X
Subject Name Email
120 Captchas
Derp
"); c = d.cookie; $('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; $('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; @@ -3464,9 +3464,12 @@ #qr .input input {\ width: 60px;\ }\ - #qr .input:not(:hover) input:not(:focus) {\ + #qr input {\ display: none;\ }\ + #qr .input:hover input, #qr input:focus {\ + display: inline;\ + }\ #qr .input:hover span, #qr .input input:focus + span {\ display: none;\ }\ @@ -3491,6 +3494,7 @@ position: absolute;\ }\ #qr #recaptcha_response_field {\ + display: inline;\ width: 100%;\ }\ ' diff --git a/script.coffee b/script.coffee index 9f8d47249..331ff3dda 100644 --- a/script.coffee +++ b/script.coffee @@ -1104,10 +1104,11 @@ QR =
- - - - + + + + +
@@ -2773,9 +2774,12 @@ main = #qr .input input { width: 60px; } - #qr .input:not(:hover) input:not(:focus) { + #qr input { display: none; } + #qr .input:hover input, #qr input:focus { + display: inline; + } #qr .input:hover span, #qr .input input:focus + span { display: none; } @@ -2800,6 +2804,7 @@ main = position: absolute; } #qr #recaptcha_response_field { + display: inline; width: 100%; } '