@@ -1079,6 +1082,7 @@ QR =
$('[name=name]', qr).value = if m = c.match(/4chan_name=([^;]+)/) then decodeURIComponent m[1] else ''
$('[name=email]', qr).value = if m = c.match(/4chan_email=([^;]+)/) then decodeURIComponent m[1] else ''
$('[name=pwd]', qr).value = if m = c.match(/4chan_pass=([^;]+)/) then decodeURIComponent m[1] else $('input[name=pwd]').value
+ $('textarea', qr).value = text
QR.cooldown if conf['Cooldown']
$.bind $('.close', qr), 'click', QR.close
$.bind $('form', qr), 'submit', QR.submit
@@ -1115,6 +1119,7 @@ QR =
ta.setSelectionRange i, i
ta.focus()
receive: (e) ->
+ $('iframe[name=iframe]').src = 'about:blank'
{data} = e
if data
data = JSON.parse data
@@ -1170,7 +1175,6 @@ QR =
{textContent, href} = node
data = JSON.stringify {textContent, href}
parent.postMessage data, '*'
- window.location = 'about:blank'
qr =
# TODO