From 86006751711975ff798f9dc4fba9f4bbc103f6e7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 12 Dec 2014 21:49:06 -0800 Subject: [PATCH] Fix captcha in GM 1.15. --- src/Posting/QR.captcha.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Posting/QR.captcha.coffee b/src/Posting/QR.captcha.coffee index 287715663..c1244cc9d 100644 --- a/src/Posting/QR.captcha.coffee +++ b/src/Posting/QR.captcha.coffee @@ -19,7 +19,9 @@ QR.captcha = $.after QR.nodes.com.parentNode, root $.on counter, 'click', @toggle.bind @ - $.on window, 'captcha:success', => @save false + $.on window, 'captcha:success', => + # XXX Greasemonkey 1.x workaround to gain access to GM_* functions. + $.queueTask => @save false shouldFocus: false timeouts: {}