:: Re: [DNG] adblocking using /etc/hos…
Forside
Slet denne besked
Besvar denne besked
Skribent: dev1fanboy
Dato:  
Til: dev1fanboy
CC: dng
Emne: Re: [DNG] adblocking using /etc/hosts
Also there is a script out there I think in perl for helping to write out ridirects from unbound for adblock filter lists and hosts blocking from someonewhocares.org, and there is a python parser for that sort of thing too. With the unbound/lightthpd method you also get ad blocking on every device you have, like xbox 360, PS4, etc that don't have ad blockers since you can just set unbound as the default dns server.

Cheers,

chillfan

On Tuesday, June 7, 2016 12:01 AM, dev1fanboy <devuanfanboy@???> wrote:
> I used to find the problem was you can't actually connect to 0.0.0.0 if
> nothing is running there, so when browsing you get messages about not
> being able to connect where an ad banner would usually be. A nicer way to
> do it is to use unbound and lighttpd in combination with eachother. All
> you need do is serve up a small index.html like so:
>
> <html>
> </html>
>
> And the ads appear collapsed.
>
> Cheers,
>
> chillfan
>
> On Sunday, June 5, 2016 8:01 AM, emninger@??? wrote:
>> I don't know, if it is the right place here to ask such trivial
>> questions, if not please tell me, no problem at all.
>>
>> I wanted to suggest, for the future, may be for a better user
>> experience, if it is possible and reasonable to create a small script,
>> which would configure /etc/hosts in a way that ad servers and that like
>> were redirected to 0.0.0.0 ? May be this could be done in a way that the
>> user will be prompted, if (s)he would like to install ad-blocking
>> systemwide and also there should be an option to uninstall the created
>> list from /etc/hosts .
>>
>> In my thinking that is a very elegant and easy way to keep the browsers
>> itself small and efficient. But very likely, i'm missing some cons ...
>> (?)
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> --
> Take back your privacy. Switch to www.StartMail.com
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

--
Take back your privacy. Switch to www.StartMail.com