diff --git a/4chan_x.coffee b/4chan_x.coffee index b3f6d7262..b874108ad 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -486,6 +486,10 @@ iframeLoad = -> submit.value = 30 submit.disabled = true window.setTimeout cooldown, 1000 + auto = submit.previousSibling.lastChild + if auto.checked + #unhide the qr so you know it's ready for the next item + $('input[title=autohide]:checked', qr)?.click() else remove qr diff --git a/4chan_x.js b/4chan_x.js index d41f6c0cc..4efbe860c 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -531,7 +531,7 @@ } }; iframeLoad = function() { - var _ref2, _ref3, error, qr, span, submit; + var _ref2, _ref3, auto, error, qr, span, submit; if (iframeLoop = !iframeLoop) { return null; } @@ -551,6 +551,10 @@ submit.value = 30; submit.disabled = true; window.setTimeout(cooldown, 1000); + auto = submit.previousSibling.lastChild; + if (auto.checked) { + (typeof (_ref3 = ((_ref2 = $('input[title=autohide]:checked', qr)))) === "undefined" || _ref3 === null) ? undefined : _ref3.click(); + } } else { remove(qr); } diff --git a/readme b/readme index d6c060f50..1018c1b28 100644 --- a/readme +++ b/readme @@ -2,7 +2,7 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features. -// @version 1.7.0 +// @version 1.7.1 // @copyright 2009, 2010 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/*