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

Add replacement widget for Google reCAPTCHA #2512

Merged
merged 20 commits into from
May 6, 2020

Conversation

ghostwords
Copy link
Member

@ghostwords ghostwords commented Nov 25, 2019

Fixes #1542.

Should be rebased on #2484 to avoid replacing reCAPTCHA when it's only been cookieblocked. (Right now we ask, "would we block google.com?" and the answer is yes, but what we want to ask is, "did we block google.com?" (as opposed to www.google.com)

Parts borrowed from #2271. Should redo that PR from master after this is merged.

www.google.com reCAPTCHA examples (currently yellowlisted, so you have to tell your Privacy Badger to block www.google.com first):

google.com reCAPTCHA examples:

Dynamically inserted (024fffc) examples:

@ghostwords ghostwords added the widgets Click-to-activate placeholders for blocked but potentially useful social buttons/widgets label Nov 25, 2019
@ghostwords ghostwords marked this pull request as ready for review April 23, 2020 17:51
@ghostwords ghostwords force-pushed the recaptcha-replacement-widget branch from 4a2fafc to 13db850 Compare May 5, 2020 16:47
@ablanathtanalba
Copy link
Contributor

Nice, just saw those updates modernizing the loops 👍

Copy link
Contributor

@ablanathtanalba ablanathtanalba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

While the container div is an inline part of the page,
the div is populated by a third-party script.

If we look for the output before the script finished loading
and executing, it looks like the widget failed to load,
but in fact we merely checked too quickly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
widgets Click-to-activate placeholders for blocked but potentially useful social buttons/widgets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Privacy Badger breaks reCAPTCHA
2 participants