AdguardTeam / Scriptlets

AdGuard scriptlets library
GNU General Public License v3.0
138 stars 27 forks source link

Improve 'trusted-click-element' - add support for closed ShadowRoot #423

Closed Alex-302 closed 1 month ago

Alex-302 commented 3 months ago

Related to https://github.com/AdguardTeam/AdguardFilters/issues/177571

The button is located in the closed Shadow DOM, and the current scriptlet cannot work there.

Alternative solution

Create a separate scriptlet.

Alex-302 commented 3 months ago

Added @AdamWr's rule https://github.com/AdguardTeam/AdguardFilters/commit/c301d6022dc7cfe63352f5e1b9e5a3bddf230003