Add support for 4chan Pass.

I guess?
This commit is contained in:
Nicolas Stepien 2012-09-18 18:03:40 +02:00
parent 08ef04697d
commit 790403df04
3 changed files with 6 additions and 0 deletions

View File

@ -2173,6 +2173,9 @@
captcha: { captcha: {
init: function() { init: function() {
var _this = this; var _this = this;
if (-1 !== d.cookie.indexOf('pass_enabled=')) {
return;
}
if (!(QR.captchaIsEnabled = !!$.id('captchaFormPart'))) { if (!(QR.captchaIsEnabled = !!$.id('captchaFormPart'))) {
return; return;
} }

View File

@ -1,4 +1,6 @@
master master
- Mayhem
Add support for 4chan Pass.
2.35.0 2.35.0
- Mayhem - Mayhem

View File

@ -1672,6 +1672,7 @@ QR =
captcha: captcha:
init: -> init: ->
return if -1 isnt d.cookie.indexOf 'pass_enabled='
return unless QR.captchaIsEnabled = !!$.id 'captchaFormPart' return unless QR.captchaIsEnabled = !!$.id 'captchaFormPart'
if $.id 'recaptcha_challenge_field_holder' if $.id 'recaptcha_challenge_field_holder'
@ready() @ready()