[wiki] [sites] surf - adblock: add firejail example || Paper Mountain Studio

From: <git_AT_suckless.org>
Date: Fri, 07 Jun 2019 19:10:07 +0200

commit c533ff8e05fbbe3eba88f89782a2365f62f357e1
Author: Paper Mountain Studio <kodycze_AT_gmail.com>
Date: Fri Jun 7 19:08:40 2019 +0200

    surf - adblock: add firejail example

diff --git a/surf.suckless.org/files/adblock-hosts/index.md b/surf.suckless.org/files/adblock-hosts/index.md
index 9959b422..75bb4d1d 100644
--- a/surf.suckless.org/files/adblock-hosts/index.md
+++ b/surf.suckless.org/files/adblock-hosts/index.md
_AT_@ -61,3 +61,10 @@ Run the script each time you want to update the lists using a cronjob, or
 * Main page : <https://yeuxdelibad.net/Logiciel-libre/Code/zerohosts.html>
 * Author : < thuban (at) yeuxdelibad (dot) net > (feel free to suggest
 improvements)
+
+firejail
+--------
+
+If you don't want to use your /etc/hosts file, you can use firejail:
+
+ firejail --noprofile --hosts-file="~/adblockhosts" surf "example.com"
Received on Fri Jun 07 2019 - 19:10:07 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 07 2019 - 19:12:31 CEST