SafariConverterLib
SafariConverterLib copied to clipboard
Swift library that converts AdGuard rules to Safari content blocking rules
https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_13_Turkish/filter.txt Failed
Not sure whether this is the right place to report this, please let me know if there's a better place. I just spent a little bit trying to figure out...
### Issue Details uBO added support for specifying path in cosmetic rules: https://github.com/gorhill/uBlock/commit/8b696a691a In order to maintain parity we need to support this in CoreLibs as well. ### Proposed solution...
Since other filters may include parts of the main filters, or independently have rules that already exist in the main filters, the CB size may be larger than necessary. Because...
For example, `###termly-code-snippet-support` in AdGaurd Cookie filter - cookie notification is not hidden. When I add the rule to user rules, it is applied. **After removing the rule from user...
The script rules can be known to us (i.e. they exist in one of AdGuard filters) or unknown (added by the user, received from a custom filter). Known script rules...
### Issue URL (Incorrect Blocking) [https://www.surveymonkey.com/r/7SYN6PM](https://adguardteam.github.io/AnonymousRedirect/redirect.html?url=https%3A%2F%2Fwww.surveymonkey.com%2Fr%2F7SYN6PM) ### Comment > page freezes up when adguard is enabled but disabling adugard by using "reload without content blockers" speeds up the page. >...
**From alex-302** ### Steps to reproduce: 1. Go to https://catalog.santacruzpl.org/polaris/search/title.aspx?ctx=1.1033.0.0.1&pos=1&cn=980919 2. Scroll down during loading, try to select text. ### Actual behaviour: Few seconds page is non-responsive ### Expected: Page...
See the explanation here: https://github.com/AdguardTeam/SafariConverterLib/issues/20#issuecomment-2532818732 We can use `if-top-url` (or even better - support `if-frame-url` in Safari 18) to support domain wildcards. Rules that can be properly supported now: *...
## Negating regardless of its arguments is not supported ``` example.org,example.com#%#//scriptlet("abort-on-property-read", "alert") example.com#@%#//scriptlet("abort-on-property-read") ``` * Expected result: the scriptlet is negated on `example.com` * Actual result: the scriptlet is not...