Skip to content

Fix 'trusted-click-element' — Cloudflare captcha is broken when >>> combinator is used #491

Open
@AdamWr

Description

@AdamWr

Related to - AdguardTeam/AdguardFilters#202188

It looks like Cloudflare captcha does not like when their element in shadow DOM is modified.
It's caused by this line:

argumentsList[0].mode = 'open';

Maybe as a simple workaround we could just check a stack trace and do not change mode to open if attachShadow call is from challenges.cloudflare.com?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions