Dann probiere ich es noch einmal mit http://www.spiegel.de/politik/deutschla ... 49588.htmlniemand hat geschrieben:Ich sehe dort gar keine Werbung. Am Werkeln ist hier uMatrix.
(Ich muß mich entschuldigen, ich war etwas abgetaucht.)
Dann probiere ich es noch einmal mit http://www.spiegel.de/politik/deutschla ... 49588.htmlniemand hat geschrieben:Ich sehe dort gar keine Werbung. Am Werkeln ist hier uMatrix.
Hier Chrome mit umatrix, keine nervige Werbung zu sehenwckl hat geschrieben:Dann probiere ich es noch einmal mit http://www.spiegel.de/politik/deutschla ... 49588.htmlniemand hat geschrieben:Ich sehe dort gar keine Werbung. Am Werkeln ist hier uMatrix.
(Ich muß mich entschuldigen, ich war etwas abgetaucht.)
Bei mir auch... Null Werbung (Chrome mit uBlock origin).wckl hat geschrieben:Dann probiere ich es noch einmal mit http://www.spiegel.de/politik/deutschla ... 49588.htmlniemand hat geschrieben:Ich sehe dort gar keine Werbung. Am Werkeln ist hier uMatrix.
(Ich muß mich entschuldigen, ich war etwas abgetaucht.)
Code: Alles auswählen
[Unit]
Description=Download adblock-hostlist and update /etc/hosts
After=network-online.target
OnFailure=status-email-root@%n.service
ConditionPathExists=/etc/hosts.d
[Service]
ExecStartPre=/bin/sh -c "/bin/systemctl is-active -q network-online.target"
ExecStartPre=/bin/ping -q -c 1 "winhelp2002.mvps.org"
ExecStartPre=/usr/bin/wget http://winhelp2002.mvps.org/hosts.txt -O /etc/hosts.d/hosts.winhelp2002.list
ExecStartPre=/bin/sh -c "/usr/lib/systemd/scripts/hostupdate.sh|tee /tmp/update_hosts_except"
ExecStartPre=/bin/sed -i -f /tmp/update_hosts_except /etc/hosts.d/hosts.winhelp2002.list
ExecStart=/bin/sh -c "/bin/cat /etc/hosts.d/*.list | sed -e 's/\r//g' > /etc/hosts"
[Install]
WantedBy=cron-weekly.target
Code: Alles auswählen
# cat /usr/lib/systemd/scripts/hostupdate.sh
for i in $(/bin/cat /etc/hosts.d/*.except);do
/usr/bin/printf s/^.*\\\($i\\\).*$/#\\\\1/g\\\n ;
done
Code: Alles auswählen
systemctl enable --now adblock-hostupdate.service