AdguardTeam / AdguardTeam/Scriptlets

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

オープン
#390 コメント 1 件 リアクション 1 件 担当者 1 名 @maximtop が担当を希望しています GitHub で見る
bug Priority: P4
主要言語
JavaScript
スター
195
フォーク
33
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。