Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Privacy Badger breaks reCAPTCHA #1542

Closed
ghostwords opened this issue Jul 31, 2017 · 22 comments · Fixed by #2512
Closed

Privacy Badger breaks reCAPTCHA #1542

ghostwords opened this issue Jul 31, 2017 · 22 comments · Fixed by #2512
Labels
broken site important widgets Click-to-activate placeholders for blocked but potentially useful social buttons/widgets

Comments

@ghostwords
Copy link
Member

ghostwords commented Jul 31, 2017

From a Chrome Web Store review:

When you register an account on a new site, Privacy Badger does not show Google Captcha boxes. Does anyone know how I can whitelist Captcha?

I think we get pretty consistent error reports about the various captcha providers and maybe reCAPTCHA specifically, although fixing our error reporting form in #1475 would really help with being able to say with more certainty.

@ghostwords
Copy link
Member Author

ghostwords commented Oct 5, 2017

This seems like a high profile, persistent issue. Here are the report counts by month of reports where the user uses the word "recaptcha" in the message:

+---------+----------+
| ym      | count(*) |
+---------+----------+
| 2017-09 |       32 |
| 2017-08 |       21 |
| 2017-07 |       18 |
| 2017-06 |       15 |
| 2017-05 |       18 |
| 2017-04 |       22 |
| 2017-03 |       37 |
| 2017-02 |       25 |
| 2017-01 |       20 |
| 2016-12 |       18 |
| 2016-11 |        1 |
| 2016-10 |        5 |
| 2016-09 |        8 |
| 2016-08 |        6 |
| 2016-07 |        3 |
| 2016-06 |        8 |
| 2016-05 |        1 |
| 2016-04 |        1 |
| 2016-02 |        2 |
| 2016-01 |        1 |
| 2015-11 |        3 |
| 2015-10 |        3 |
| 2015-09 |        3 |
| 2015-08 |        4 |
+---------+----------+

I visited a few page URLs, but haven't yet seen Privacy Badger learn to block gstatic.com (or whatever domains reCAPTCHA depends on).

@ghostwords ghostwords added unable to reproduce widgets Click-to-activate placeholders for blocked but potentially useful social buttons/widgets labels Oct 5, 2017
@ghost
Copy link

ghost commented Oct 30, 2017

Here's a webpage that one could try to reproduce the problem on: https://www.codeweavers.com/about/contact-us

However, possibly (I don't know) the page may generate a captcha only when it detects a proxy and/or VPN.

@monkeydont
Copy link

I am having this problem all over the web. There is no placeholder where I can even see the reCAPTCHA was supposed to be. Signing up for things with Privacy Badger enabled is impossible. You can test this for example: https://www.dailykos.com/users/signup. I do use a VPN at all times as well as self-destructing cookies.

@skirby359
Copy link

Same issue - PrivacyBadger breaking ReCaptcha form submission on many sites. It took me a while to determine that ReCaptcha was the problem.
Example: https://www.2-harvest.org/contact/

@ghost
Copy link

ghost commented Mar 21, 2018

And those capchas, with their near-unsolvable conundra - does a quarter of a sign-post count as a signpost? Is a van a 'car'? - are irritating enough already!

@trwatson
Copy link

Another example that is broken. https://www.burpee.com/contactus. I slid "www.google.com" to yellow and it seems to allow enough to let the CAPTCHA to work

@mitjakolsek
Copy link

Another example: https://blog.0patch.com/2018/01/bringing-abandoned-equation-editor-back.html#comment-form

On 32-bit Firefox v 59.0.2 with Privacy Badger 2018.4.23 installed, publishing or previewing a comment results in the blog page just reloading, effectively just clearing out the comment you wrote. Feel free to test, this is our blog and we have moderation enabled so you won't be littering.

@davecotter
Copy link

davecotter commented Aug 30, 2018

i am able to see the recaptcha thing, but when i check "i'm not a robot" it always asks me to identify "which of these tiles has a car in it" or some such nonsense. even if i SOLVE it and it accepts me as human, if i just refresh the page and check "i'm not a robot" again, i have to RE-SOLVE yet an other "identify this thing" puzzle. please can't you just whitelist the sites google uses for recaptcha? disabling the badger on the site makes the checkbox alone work. using firefox (latest, mac)

@szock
Copy link

szock commented Nov 23, 2018

Is this issue being worked on? It is very irritating to have to disable Privacy Badger ever time I encounter reCAPTCHA

@ghostwords
Copy link
Member Author

Hi @szock, is Privacy Badger blocking www.google.com or any other google.com domains when this happens? Does setting those domains to "yellow" or "green" and reloading the page work around the problem?

@liamhughes
Copy link

liamhughes commented Nov 25, 2018 via email

@ghostwords
Copy link
Member Author

I've been looking through error reports ("Did Privacy Badger break this site? Let us know!"), and what I see is many reports have users manually blocking www.google.com or www.gstatic.com. So this tells me this issue falls under #2021.

Can anybody reproduce reCAPTCHA breaking if you undo your slider modifications (or start with a new profile)?

@RemakingEden
Copy link

@ghostwords just tried all the urls and I can only get the recaptcha to break by manually blocking gstatic.com or Google.com.

I also have tested as @davecotter suggested. It seems that changing google.com from yellow (where my badger has decided it should be) to green manually allows recaptcha to track my movement and other data on the screen to decide i'm human. Without it, it asks me every time to do a check.

Let me know if you want any other checks doing to help out with this.

@khaytsus
Copy link

I know this is a bit stale at this point, but the last few weeks I've noticed I fail every single ReCapatcha, luckily I found this issue. Sure enough I looked in the options and a TON of Google stuff was set to Block. I set it to Allow and I did a few tests and it works now. I wonder if this could be a little more obvious for a user to discover, as yes, Google does a lot of tracking, but it's also used in a lot of sites, so let the user choose. But suddenly failing every ReCaptcha and struggling to "click all the crosswalks" when every picture is a road with no crosswork is infuriating.

@DJCrashdummy
Copy link
Contributor

DJCrashdummy commented Nov 1, 2019

i also partly suffer from this issue... and as @monkeydont said:

There is no placeholder where I can even see the reCAPTCHA was supposed to be.

this makes it at first or for casual users pretty hard to guess what's wrong. 🙁


in my case i faced this error at this site (please make sure you are at the correct site and not got redirected!) which does not connect to sooo much other domains, so perhaps it may be easier to nail down the error...
btw: like @RemakingEden i tried the mentioned sites at this issue but saw most of the reCAPTCHA with no problem.

@ghostwords i try to summarize my findings, but if additional information is needed please just ask!

is Privacy Badger blocking www.google.com or any other google.com domains when this happens?

yes, the only not green domain at Privacy Badger is www.google.com, which is automatically set to red.
after manually setting www.google.com to yellow to work around this issue and reloading the site, google.com gets additionally listed at Privacy Badger.

Does setting those domains to "yellow" or "green" and reloading the page work around the problem?

yes, setting it manually to yellow works like a charm... but this also sets a ton of subdomains to yellow which i even can't revert to automatic controled by Privacy Badger one by one. 🙁

Can anybody reproduce reCAPTCHA breaking if you undo your slider modifications (or start with a new profile)?

yes, i don't use any manual slider modifications.

completing:

  • it seems this is the only site i noticed this issue and at other sites reCAPTCHA works flawless (because www.google.com is automatically just set to yellow)... 🤔
  • i'm additionally using uBlockO, but de-/activating it does not change anything (regarding reCAPTCHA).

@ghostwords
Copy link
Member Author

Hi @DJCrashdummy, thanks for your report! The reCAPTCHA on the page you shared comes from google.com (which Privacy Badger blocks), as opposed to www.google.com (which Privacy Badger "cookieblocks"). So you found an example where reCAPTCHA is broken by default.

I opened #2512 to eventually add a replacement widget for reCAPTCHA. The idea is to fix your example page and others like it by providing a clearly visible clickable replacement. This will also provide a replacement to users who told Privacy Badger to block www.google.com.

It's not clear what other scenarios beyond these two (reCAPTCHA from google.com / user blocks www.google.com), if any, cause reCAPTCHA breakage.

@DJCrashdummy

This comment has been minimized.

@ghostwords

This comment has been minimized.

@DJCrashdummy

This comment has been minimized.

@etanot
Copy link

etanot commented May 21, 2020

Relevant comments: #2559 (comment) & #2559 (comment).

@ghostwords,

Could you take a look and let me know what you think?

I've looked into, it's cool... And you're right it's not working for some reCAPTCHA page; for example https://www.spotify.com/us/signup/.

For Spotify sign up page I don't get any reCAPTCHA, when slider is at block mode for www.google.com.

spotify-no-reCAPTCHA
Fig 1: No reCAPTCHA widget (for "I'm not a robot" Checkbox)

spotify-sign-up-page-no-reCAPTCHA
Fig 2: Failed sign-up attempt

Some pages like Spotify login & sign-up uses Invisible reCAPTCHA[1], see below screenshot

invisible-recaptcha

And some like https://truecaller.com uses reCAPTCHA v3[1], which don't allow to perform certain operation until slider for www.google.com is at block mode.

truecaller

It would be nice, if we could also add a widget for Invisible reCAPTCHA; so user will be informed, this site is using Invisible reCAPTCHA. And for reCAPTCHA v3, we could prompt a user interaction like this: allow www.google.com for this domain for this session, only or permanently, just like HTTPSEveryWhere does for insecure website in EASE mode.

@ghostwords
Copy link
Member Author

@finn0 Thanks for the feedback! I opened #2688 to add widgets to the popup, to make it clear which widgets are present on the page, and to allow you to activate them even when our in-page replacement fails for whatever reason.

@ghostwords
Copy link
Member Author

ghostwords commented Nov 29, 2021

@Vipkr Privacy Badger version 2021.11.23.1 comes with a more advanced reCAPTCHA replacement that supports more scenarios such as the Spotify sign-up page you shared above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken site important widgets Click-to-activate placeholders for blocked but potentially useful social buttons/widgets
Projects
None yet
Development

Successfully merging a pull request may close this issue.