Very simple macOS and iOS apps for debugging Safari content blocking rules.
- XCode is required to build it.
- Run
git clone https://github.com/AdguardTeam/SafariConverterLib.git safari-converter-lib
to clone the SafariConverterLib project. - Edit the file
filters/filter.txt
and put the rules you'd like to test there.
- Enable developer mode in Safari and allow unsigned extensions in Developer Options.
- Build and run the app, target
safari-blocker
.
- If you use a Simulator, it will be enought to build and run
safari-blocker-ios
.