SafariConverterLib
SafariConverterLib copied to clipboard
Scriptlets with `[$path]` modifier do not work on Safari
It seems that the scriptlets using the [$path]
modifier are not applying.
STR:
- Add these rules to User rules in AdGuard for iOS
[$path=/\/(?:weather\/|pogoda\/|hava\/)/]yandex.*#%#//scriptlet('prevent-eval-if', 'Id":"R-I')
[$path=/\/(?:weather\/|pogoda\/|hava\/)/]yandex.*#%#//scriptlet('abort-on-property-read', 'Object.prototype.renderDirect')
[$path=/\/(?:weather\/|pogoda\/|hava\/)/]yandex.*#%#//scriptlet('json-prune', 'rtb')
1,1. You can skip p.1 if you check the issue later with latest filters update, AdGuard Annoyances enabled + the config from https://github.com/AdguardTeam/AdguardFilters/issues/164874 2. Open https://yandex.ru/pogoda/novorossiysk in Safari on iOS 3. Request desktop page (not needed if you test it on iPad) 4. You will see ads.
Expected behaviour - the rules should work with [$path]
modifier.