AdguardTeam / AdguardTeam/Scriptlets

Fix 'trusted-click-element' — scriptlet does not work with Shadow DOM in macOS

Open
#452 0 comments 0 reactions 0 assignees View on GitHub
bug Priority: P4
Dominant language
JavaScript
Stars
195
Forks
33
PR merge metrics
No merged PRs in 30d

Description

OS: MacOS Sonoma 14.5
Browser: Safari 17.6
AdGuard: 2.16.0.1808 nightly / CL 1.16.25 / Scriptlets 1.11.16

Example of the site with the problem: https://tweakers.net/

Screenshot

![image](https://github.com/user-attachments/assets/d96e6306-270b-4066-8be8-6b54392c66f8)

UPD:

The rules, which must be applied:

```
tweakers.net#%#//scriptlet('trusted-click-element', '#pg-shadow-root-host >>> button#pg-configure-btn')
tweakers.net#%#//scriptlet('trusted-click-element', '#pg-shadow-root-host >>> button#pg-reject-btn')
```

The first is applied, the second - not.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.