diff --git a/4chan_x.user.js b/4chan_x.user.js index 055978a46..d7772d312 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2173,6 +2173,9 @@ captcha: { init: function() { var _this = this; + if (-1 !== d.cookie.indexOf('pass_enabled=')) { + return; + } if (!(QR.captchaIsEnabled = !!$.id('captchaFormPart'))) { return; } diff --git a/changelog b/changelog index a2fbb7d48..e43e2e54d 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ master +- Mayhem + Add support for 4chan Pass. 2.35.0 - Mayhem diff --git a/script.coffee b/script.coffee index 95435ce92..df8b74955 100644 --- a/script.coffee +++ b/script.coffee @@ -1672,6 +1672,7 @@ QR = captcha: init: -> + return if -1 isnt d.cookie.indexOf 'pass_enabled=' return unless QR.captchaIsEnabled = !!$.id 'captchaFormPart' if $.id 'recaptcha_challenge_field_holder' @ready()