From 98910f093a49b013e1355b66924322c9016f9f42 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 2 Feb 2017 05:18:30 -0800 Subject: [PATCH] Update captcha iframe URL again. --- package.json | 1 + src/Posting/Captcha.fixes.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c6dc06417..6660fa05e 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "https://www.google.com/recaptcha/api2/anchor?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*", "https://www.google.com/recaptcha/api2/frame?*&k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*", "https://www.google.com/recaptcha/api2/frame?*&k=887877714&*", + "https://www.google.com/recaptcha/api2/bframe?*&k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*", "*://www.google.com/recaptcha/api/fallback?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*" ], "exclude_matches": [ diff --git a/src/Posting/Captcha.fixes.coffee b/src/Posting/Captcha.fixes.coffee index 60e52f5ab..39578a1cb 100644 --- a/src/Posting/Captcha.fixes.coffee +++ b/src/Posting/Captcha.fixes.coffee @@ -45,7 +45,7 @@ Captcha.fixes = init: -> switch location.pathname.split('/')[3] when 'anchor' then @initMain() - when 'frame' then @initPopup() + when 'frame', 'bframe' then @initPopup() when 'fallback' then @initNoscript() initMain: ->