Thanks to
@SomeWhereOverTheRainBow there have been some enhancements, performance and cleanup made to the gen_adblock script.
@Martineau will be releasing a new version soon to enable it, so once 2.17 comes out hopefully people can benefit from it.
To make things more clean the "sites" file has been split into two (both located in /opt/
- blocksites - these are URLs for the domain lists or hosts file format for sites to adblock.
- allowsites - these are URLs for domain lists or hosts file format for sites to ensure are not adblocked.
NOTE: You no longer need to prepend a <type> to the list. This list is now easier to use since it is just a list of URLs, one per line. Now the 2 files are the difference types.
For individual hosts you want to allow or block:
- allowhost - domain list of hosts to ensure are not blocked by adblock
- blockhost - additional domain list of hosts you want to block with adblock
You may want to back your old "sites" file as it will be moved and modified, or possibly ignored during this update.
Thank you
@SomeWhereOverTheRainBow and
@Martineau !!
--- edit ---
version is now v1.0.4