AdguardTeam / AdguardTeam/Scriptlets

Fix 'trusted-click-element' — scriptlet does not work for the first time in the open shadow DOM on filialen.santander.de

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

描述

https://github.com/AdguardTeam/AdguardFilters/issues/191416.
So, the problem, as the title says. It does not matter whether I use MV2, MV3 extensions or even the app. Adding the `delay` does not help.
STR:
1. Leave only AdGuard Base filter
2. Add this rule `filialen.santander.de#%#//scriptlet('trusted-click-element', '#usercentrics-root >>> button[data-testid="uc-accept-all-button"]')`
3. Open the site from the report above in the Incognito tab
4. You'll see the cookies
5. Refresh the page
6. Now they are gone

Expected behaviour - you don't see the cookies on the p.4.
If you check it in the app, first, remove `santander.de` from the HTTPS exclusion list, then do the rest.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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