Passcode feature does not work anymore on 4chan.org.
That's because now 4chan responds with <h2 class="msg-success">Success! Your device is now authorized.</h2> instead of <span ...>Success! Your device is now authorized.</span> which is cannot be parsed by old regexp PATTERN_AUTH_MESSAGE.
Passcode feature does not work anymore on 4chan.org.
That's because now 4chan responds with
<h2 class="msg-success">Success! Your device is now authorized.</h2>
instead of<span ...>Success! Your device is now authorized.</span>
which is cannot be parsed by old regexpPATTERN_AUTH_MESSAGE
.I've fixed the regexp to
<h2.*?>(.*?)<(?:br|/h2)>