Skip to content

Trusted-click-element cannot click shadow dom elements #2971

Closed
@peace2000

Description

@peace2000

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT an issue with YouTube, Facebook or Twitch.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

Trusted-click-element cannot click shadow dom elements.

A specific URL where the issue occurs.

https://racingnews365.com/watch-nascar-driver-ryan-preece-survives-daytona-barrel-roll-accident

Steps to Reproduce

  1. Add filter racingnews365.com##+js(trusted-click-element, .cmpboxbtnyes)
  2. Open https://racingnews365.com/watch-nascar-driver-ryan-preece-survives-daytona-barrel-roll-accident

Expected behavior

The button would be clicked.

Actual behavior

It can't be clicked.

uBO version

1.53.5rc11

Browser name and version

FF 119.0.1

Operating System and version

Win 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions