sweb icon indicating copy to clipboard operation
sweb copied to clipboard

Custom filter

Open PowerExplorer opened this issue 3 years ago • 1 comments

If possible, please support custom filter that block/unblock url patterns, custom ads block

PowerExplorer avatar Jun 28 '21 03:06 PowerExplorer

It's already supported, but is not exposed in the GUI. You can drop any file with .txt extension into /storage/emulated/0/Android/data/landau.sweb/files/adblock in the Adblock Plus / uBlock Origin file format (see https://adblockplus.org/filter-cheatsheet), restart SWeb, and they will be used. If you downloaded the Easylist rules from within SWeb, you'll see them in that folder and can use as a reference.

Adding a UI for this is not something I was planning on doing any time soon, but will accept a pull request.

alandau avatar Jun 29 '21 23:06 alandau