tblock (brew - MacOS)

Un poderoso bloqueador de anuncios (ads) via HOSTS

Fuente: https://tblock.codeberg.page/install/macos/

Instalación

brew tap tblock/tap https://codeberg.org/tblock/homebrew-tap
.. y después:
brew install tblock

Activación

En terminal, teclear:
sudo tblock -Y

Respuesta:

Password:
==> Creating new database
==> Syncing filter list repository
 [✓] Fetching filter list repository (11.0 KB): 100%
 [✓] Fetching filter list repository checksum (2.0 KB): 100%
 [✓] Verifying checksum
 [✓] Checking repository version
 [✓] Checking compatibility
 [i] Upgrading from version 0 to 220728
 [✓] Upgrading filter list index: 91/91 (100%)

NOTA: Se pueden revisar los cambios con sudo nano /etc/hosts

Deshabilitar

sudo tblock -D

NOTA:
Usar sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder ; sudo discoveryutil mdnsflushcache ; sudo discoveryutil udnsflushcaches; para refrescar caches.

Habilitar protección

sudo tblock -E

Manual de uso y documentación:

https://tblock.codeberg.page/docs/how-it-works.html

Repositorio de listas:

https://tblock.codeberg.page/repository/?tag=ads

Lista instalada:
Ad Domains Filter List
A combined list of all the Ad Domains.

Suscripción a la lista:
sudo tblock -Sy ad-domains-filter-list

:: You are about to subscribe to the following filters:

  ad-domains-filter-list

:: Are you sure to continue ? [y/n] y
==> Syncing filter list repository
 [✓] Fetching filter list repository (11.0 KB): 100%
 [✓] Fetching filter list repository checksum (2.0 KB): 100%
 [✓] Verifying checksum
 [✓] Checking repository version
 [i] Filter list repository is up-to-date
==> Retrieving filter lists
 [✓] Fetching ad-domains-filter-list (13.0 KB): 100%
==> Subscribing to filter list: ad-domains-filter-list
 [✓] Marking filter list as subscribed in database
 [✓] Cleaning rules cache: 0
 [i] Filter list syntax is: adblockplus
 [✓] Inserting rules into database (1598): 100%
 [i] Skipped 301 invalid rules or lines (18.8%)
==> Cleaning database
 [✓] Checking wildcards rules: 0/0
==> Updating hosts file
 [✓] Saving default hosts file
 [✓] Retrieving rules: 1297/1297 (100%)
 [✓] Writing new hosts file
 [i] Protection is now enabled

Sincronizar y actualizar la lista:
sudo tblock -Uy

:: You are about to update to the following filters:

  ad-domains-filter-list

:: Are you sure to continue ? [y/n] y
==> Syncing filter list repository
 [✓] Fetching filter list repository (11.0 KB): 100%
 [✓] Fetching filter list repository checksum (2.0 KB): 100%
 [✓] Verifying checksum
 [✓] Checking repository version
 [i] Filter list repository is up-to-date
==> Retrieving filter lists
 [✓] Fetching ad-domains-filter-list (13.0 KB): 100%
==> Updating filter list: ad-domains-filter-list
 [✓] Filter list is up-to-date
==> Cleaning database
 [✓] Checking wildcards rules: 0/0
==> Updating hosts file
 [✓] Retrieving rules: 1297/1297 (100%)
 [✓] Writing new hosts file

Referencias: