From de27220c0d11b8ec7a8e707096e8d428ba2c5d73 Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 2 Sep 2011 23:21:12 -0700 Subject: [PATCH] 1s delay --- 4chan_x.user.js | 4 ++-- script.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 8746a9d68..81b42fc7a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1409,9 +1409,9 @@ tc = data.textContent; if (tc === 'Error: Duplicate file entry detected.') { QR.attachNext(); - QR.submit(); + setTimeout(QR.submit, 1000); } else if (tc === 'You seem to have mistyped the verification.') { - QR.submit(); + setTimeout(QR.submit, 1000); } return; } diff --git a/script.coffee b/script.coffee index f77feb253..59e3de7af 100644 --- a/script.coffee +++ b/script.coffee @@ -1103,9 +1103,9 @@ QR = tc = data.textContent if tc is 'Error: Duplicate file entry detected.' QR.attachNext() - QR.submit() + setTimeout QR.submit, 1000 else if tc is 'You seem to have mistyped the verification.' - QR.submit() + setTimeout QR.submit, 1000 return if conf['Persistent QR'] or $('#files input', QR.el)?.files.length QR.reset()