Regarding the syntax versions of Peter Lowe's List (original) (raw)
Prerequisites
- I verified that this is not a filter issue
- Filter issues MUST be reported at filter issue tracker
- This is not a support issue or a question
- Support issues and questions are handled at /r/uBlockOrigin
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue
- Your issue may already be reported.
- I tried to reproduce the issue when...
- (N/A) uBlock Origin is the only extension
- (N/A) uBlock Origin with default lists/settings
- (N/A) using a new, unmodified browser profile
- (N/A) I am running the latest version of uBlock Origin
- I checked the documentation to understand that the issue I report is not a normal behavior
Description
I've realised that Peter Lowe's List, in-so-far as it is included in uBlock Origin and forks of it, is using the Hosts version of the list. Wouldn't it have been better to use the adblocker-syntaxed version of it instead?
I admit that my request is heavily flavoured by some work I've done on AdGuard Home, a tool that would treat domains from Hosts entries very strictly (e.g. it would not cover subdomains, nor domains with differences in www. prefixes), while in contrast it would treat || entries the way normal adblockers do. This does not seem to affect uBO nearly as much, although I am admittedly not 110% expertious in uBO's treatment of Hosts entries. My findings indicate that uBO tries to convert 127.0.0.1 into || anyway, if the strict blocking warnings is any indicator.
The list versions' internally listed update times are the same (e.g. # last updated: Wed, 29 Jan 2020 16:22:55 GMT), so there doesn't seem to be any easily noticeable update delays on the non-Hosts versions that I can easily see.
The filesize is also somewhat smaller, should it become somewhat important that end-users save bandwidth whenever possible.
A specific URL where the issue occurs
chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/asset-viewer.html?url=plowe-0
Steps to Reproduce
- If you're using a Chromium browser, visit chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/asset-viewer.html?url=plowe-0
- See that the entries use Hosts syntax, namely
127.0.0.1 example.org. - Go to https://pgl.yoyo.org/adservers/serverlist.php?hostformat=adblockplus&showintro=1&mimetype=plaintext
- See that the entries use adblocker syntax, namely
||example.org^.
Expected behavior:
The most ideal version of Peter Lowe's List is included in uBO, which may or may not be the adblocker-syntax version.
Actual behavior:
The Hosts version of Peter Lowe's List is included in uBO.
Your environment
- uBlock Origin version: 1.24.2
- Browser Name and version: Vivaldi 2.10.1745.27 64-bit
- Operating System and version: Windows 10 November 2019 Update