AdguardTeam / AdguardTeam/Scriptlets

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

未关闭
#452 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug Priority: P4
主要语言
JavaScript
星标
195
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。