This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
advanced-adblock [2022/06/11 14:47] – rs232 | advanced-adblock [2023/01/06 17:21] – rs232 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Adblock ====== | + | ====== Adblock |
+ | |||
+ | As an evolution of the original adblock script, v2 comes with a rich feature-set and improved interaction capabilities. | ||
+ | |||
+ | ===== Functionality ===== | ||
+ | |||
+ | Adblock can accept different format of lists (always plain text) extracting the domains from files in different layout (v1 required the " | ||
+ | |||
+ | ==== Logging ==== | ||
+ | |||
+ | The new GUI allows you to set up the maximum loglevel to be generated by the script. In an attempt to make the log messages more intuitive/ | ||
+ | |||
+ | ==== Filter-file size limit ==== | ||
+ | |||
+ | It's calculated automatically by the router and given a best practice acceptable limit to enable/ | ||
+ | |||
+ | Custom path - It is now possible to specify an option filesystem path where the script can store the files. Defining the path changes the way the script works and enables some additional functionality. This essentially allows to store lists, their http headers and the actual compiled blockfile on external storage (e.g. USB) offloading demand on the RAM and allowing for information to survive a reboot. This is particularly functional when the script is re-run (manually or automatically) and there are no updated lists, in this case the execution is cut short to save time/ | ||
+ | |||
+ | ==== Black lists ==== | ||
+ | |||
+ | The well know table where lists are defined now also accepts a new format called list-of-lists, | ||
+ | |||
+ | <code -> | ||
+ | URL |--> list | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | <code -> | ||
+ | URL |--> list-of-lists-file |--> URL |--> list | ||
+ | |--> URL |--> List | ||
+ | |--> URL |--> List | ||
+ | |--> URL |--> List | ||
+ | </ | ||
+ | |||
+ | The script handles the EOL of files in an automatic way and converts it internally if needed. | ||
+ | |||
+ | ==== Custom blacklisting ==== | ||
+ | |||
+ | Here a range of syntax are accepted - standard domain (one per line) - a path to a file where the domains are defined (e.g. / | ||
+ | |||
+ | ==== Whitelisting ==== | ||
+ | |||
+ | - standard domain (one per line) - a path to a file where the domains are defined (e.g. / | ||
+ | |||
+ | ==== Troubleshooting ==== | ||
+ | |||
+ | The GUI integration with adblock provides already some crucial details to understand if the script is operating correctly or not. | ||
+ | |||
+ | ====== Adblock v1 (MIPS R1 and any other device pre 2023.1) | ||
The Adblock menu contains settings to configure FreshTomato' | The Adblock menu contains settings to configure FreshTomato' | ||
Line 6: | Line 55: | ||
If only elements are blocked, it's likely the page will load without error -- uncluttered. | If only elements are blocked, it's likely the page will load without error -- uncluttered. | ||
)) | )) | ||
- | |||
For Adblock to work properly, client devices **must be configured** to use FreshTomato' | For Adblock to work properly, client devices **must be configured** to use FreshTomato' | ||
Line 17: | Line 65: | ||
Warning: FreshTomato' | Warning: FreshTomato' | ||
- | |||
===== Adblock Settings ===== | ===== Adblock Settings ===== | ||
Line 48: | Line 95: | ||
An Autoupdate function will launch randomly every day between 2:00AM and 2:59 to download the most up-to-date Blacklists from the URLs in the list. | An Autoupdate function will launch randomly every day between 2:00AM and 2:59 to download the most up-to-date Blacklists from the URLs in the list. | ||
- | |||
===== Custom Blacklist ===== | ===== Custom Blacklist ===== | ||
Line 72: | Line 118: | ||
There are a few sites available out there that allow you to test the effectiveness of your adblock configuration, | There are a few sites available out there that allow you to test the effectiveness of your adblock configuration, | ||
- | * https:// | + | * [[https:// |
- | * https:// | + | * [[https:// |
**Adblock doesn' | **Adblock doesn' | ||
Line 81: | Line 127: | ||
As mentioned earlier, enabling the "DoH Server" | As mentioned earlier, enabling the "DoH Server" | ||
- | **IOS** | + | **IOS for paid iCloud service only** |
On the " | On the " | ||
Line 87: | Line 133: | ||
{{: | {{: | ||
- | or to have this disabled globally look for " | + | or to have this disabled globally look for " |
{{: | {{: | ||
- | Considering you might connect to different WLANs with your mobile/ | + | Considering you might connect to different WLANs with your mobile/ |
+ |