Important note to self: Running Python scripts in Cygwin and PowerShell seems to create COMPLETELY different file encodings that completely overwrite one another. Stick to the Cygwin output versions if at all humanly possible for logkeeping's sake.
Recommended adblockers for the various list versions:
• uBlock Origin, AdNauseam: NorwegianList.txt
• —||—, but without tracker whitelistings: NordicFiltersPrivacy.txt
• AdGuard: NordicFiltersAdGuard.txt
• AdBlock, ABP users who want anti-anti-adblock: NordicFiltersABP.txt
• General ABP users: NordicFiltersABP-Inclusion.txt
• Blokada, DNS66: DandelionSproutsNorskeFiltreDomains.txt + NordicFiltersDomainsAllowlist.txt
• Google Hit Hider by Domain, uMatrix, personalDNSfilter, Samsung Knox, dnscrypt-proxy, Diversion, FireHOL: DandelionSproutsNorskeFiltreDomains.txt
• pfBlockerNG, AdAway, Gas Mask, hostsmgr, Hosts File Editor: AdawayHosts
• Internet Explorer 11: DandelionSproutsNorskeFiltre.tpl
• AdGuard Home: NordicFiltersAdGuardHome.txt
• Pi-hole: NordicFiltersPiHole.txt + NordicFiltersDomainsAllowlist.txt
• Little Snitch: LittleSnitchNorwegianList.lsrules
• dnsmasq: NordicFiltersDnsmasq.conf
• Privoxy: NordicFiltersPrivoxy.action
• BIND: NordicFiltersRPZ.txt
• Shadowrocket, Shadowsocks (all versions), Surge: NordicFiltersSocks5.list
• Unbound: NordicFiltersUnbound.conf
• minerBlock: NordicFiltersForMinerBlock.txt
—————————————————————————
How to run the list generation script
This is only recommended for Adfilt team members or those who want to test the script, and is not recommended for pull requests.
- Right-click on https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/XYZPrepareFilters.py and save it on your PC, preferably in its own folder.
- If you're on Windows, install Cygwin 64-bit, and pick the python39 (or higher-numbered within the
python3generation) package when you're prompted to install any packages. - In the folder where you placed
XYZPrepareFilters.py, create two new subfolders with the names ofAnti-Malware ListandDomeneversjoner. - Open Cygwin (on Windows) or the default terminal (on macOS or Linux), use
cdto navigate to the folder that containsXYZPrepareFilters.py, and runPython3 XYZPrepareFilters.py. Due to GitHub line end conflicts, avoid using PowerShell for this if at all physically possible. - If it worked, it'll lead to a few lines with text along the lines of "The list versions have been generated."