AdguardTeam / AdguardTeam/Scriptlets

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

未關閉
#390 1 則留言 1 個 reaction 已指派 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 摘要。