maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] 'advoid' a hostfile based ad blocker (https://talk.maemo.org/showthread.php?t=30970)

DaveP1 2009-10-09 14:24

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Quote:

Originally Posted by YoDude (Post 342258)
Way back on the first or second page of this thread I said it was working for me... it wasn't, something else was.

So I guess I'm saying either wait patiently for the update to hit the "Extras" repositories (a few days at most I suspect) or search for UserContent.css + Maemo + chrome and perhaps learn how to do it yourself by adding the posted code to your newly created UserContent.css file.

Either way it ain't instant, but then again both methods are free, and community supported. :)

There is a discussion of the different ways of ad blocking in the Wiki:

http://wiki.maemo.org/Ad_blocking

In brief, Advoid modifies the Hosts file which has the advantage of blocking the download itself. CSS modifications only block the display of ads.

rcull - Advoid is not mentioned on the Wiki page. You might want to edit it and add a link.

fpp 2009-10-09 14:31

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Thanks for the clarification everyone, I was beginning to fear I was the only dimwit unable to get this working :-)

Just waiting for autobuilder to work its magic...

rcull 2009-10-09 15:10

Re: [Announce] 'advoid' a hostfile based ad blocker
 
fpp

I updated app manager at 07:00 (gmt+1) and 0.9 was showing then so I don't understand why its not showing for you at 15:30 :(

DaveP1
Not only is there not much overhead but it blocks for any process using any of the blocked url ( this of course could be a disadvantage too ) so adware of any description is blocked. This could come into its own on the N900 once payed apps arrive.

Rick

DaveP1 2009-10-09 16:18

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Quote:

Originally Posted by rcull (Post 342627)
Not only is there not much overhead but it blocks for any process using any of the blocked url ( this of course could be a disadvantage too ) so adware of any description is blocked. This could come into its own on the N900 once payed apps arrive.

Rick

Absolutely. In addition to low overhead, the blocking means that it frees up bandwidth for the actual page content.

For those of you who will have the N900 on a limited data plan, this reduces the number of bytes counting against your monthly limits.

Addison 2009-10-09 16:55

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Hey rcull, your latest version finally showed up as an available download. :)

Would you mind helping me trouble shoot why I can't get it working? Remember, I ended up uninstalling your last version.

Super thanks chief!

Quote:

Traceback (most recent call last):
File "/usr/bin/advoid", line 1094, in <module>
app=Advoid()
File "/usr/bin/advoid", line 820, in __init__
self.Get_Settings()
File "/usr/bin/advoid", line 796, in Get_Settings
self.servers=self.config.get('advoid','servers').s plit(";")
File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
ConfigParser.NoSectionError: No section: 'advoid'
[1|root@Nokia-N800-43-7|~]

fpp 2009-10-09 17:25

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Quote:

Originally Posted by rcull (Post 342627)
fpp
I updated app manager at 07:00 (gmt+1) and 0.9 was showing then so I don't understand why its not showing for you at 15:30 :(

Was just me being even dumber than usual :-)

A couple of days ago I had disabled extras-devel because of all the non-installable Canola updates, and forgotten all about it...

So I got the update and installed it, but this one doesn't even start the GUI. If I launch it from xterm I get this :

Code:

~ $ advoid
Traceback (most recent call last):
 File "/usr/bin/advoid", line 1094, in <module>
  app=Advoid()
 File "/usr/bin/advoid", line 820, in __init__
  self.Get_Settings()
 File "/usr/bin/advoid", line 796, in Get_Settings
  self.servers=self.config.get('advoid','servers').split(";")
 File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
  raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'advoid'

Something fishy with my setup here again ? I haven't reflashed my N810 since Diablo came out, maybe it's getting a bit old... :-)

rcull 2009-10-09 17:34

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Addison
That would be because I'm a complete idiot at times. The initial settings file is missing from the package :(

How are you at the command line? I will fix the package but you will need to wait again :(

If you ( or of course anyone else ) are ok with the command line,, what is needed is a file called 'settings' in the .advoid directory with the following contents :-

Code:

[advoid]
default_font_size = 12
flower = 6
chunksize = 8192
start_full = False
servers = http://www.mvps.org/winhelp2002/hosts.txt;http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0
&startdate%5Bday%5D=&startdate%5Bmonth%5D=&startdate%5Byear%5D=&mimetype=plaintext;http://hostsfile.mine.nu/Hosts
show_credits = True
fupper = 32

The line from servers = to show-credits is all one line.

I'll start fixing the package now.

Rick

Addison 2009-10-09 17:42

Re: [Announce] 'advoid' a hostfile based ad blocker
 
I might be good at using the command line, but first, what is that? :)

I'm fine with waiting so take your time.

rcull 2009-10-09 18:23

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Version 0.9.0-1 now in Q for extras-devel.

Rick

fpp 2009-10-09 18:40

Re: [Announce] 'advoid' a hostfile based ad blocker
 
Oh good, no reflashing required. Thanks ! :-)


All times are GMT. The time now is 13:07.

vBulletin® Version 3.8.8