AdguardTeam / AdguardTeam/Scriptlets

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

Ouverte
#462 0 commentaires 0 réactions 1 personne assignée Réclamée par @maximtop Voir sur GitHub
bug Priority: P4
Langage dominant
JavaScript
Étoiles
195
Forks
33
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.