AdguardTeam / AdguardTeam/Scriptlets

Fix 'prevent-addEventListener' — scriptlet does not work on iOS

Aperta
#390 1 commento 1 reazione 1 assegnatario Rivendicata da @maximtop Vedi su GitHub
bug Priority: P4
Lingua principale
JavaScript
Stelle
195
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Related issue: https://github.com/AdguardTeam/AdguardFilters/issues/168824

iOS 17.1, AdGuard for iOS 4.5.2 (1010)

### Rules
```
bw-bank.de#$#.if6_eprivacy { display: none !important; }
bw-bank.de#%#//scriptlet('prevent-addEventListener', 'scroll', 'jQuery.event.dispatch.apply(elem,arguments):undefined')
```

Disable all other filters before test.

### Expected result

Scrolling is not blocked.

### Actual

Scrolling is blocked. `prevent-addEventListener` rule does nothing - when you scroll down, a script returns back to top of the page.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.