maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Ad blocking (https://talk.maemo.org/showthread.php?t=14729)

coffeedrinker 2008-01-09 20:26

Ad blocking
 
I've posted this before but since some people are having trouble with the Adblock plugin for microb, I thought I'd repost this:

Ad blocking with css:
http://floppymoose.com has a good file (doesn't get everything though).

Save the file userContent.css to /home/user/.mozilla/microb/chrome/userContent.css to enable blocking with that file.

Restart browser once you have the file in place. Make sure permissions and ownership are set right.

This solution is very fast and very easy to setup.

bexley 2008-01-09 20:41

Re: Ad blocking
 
Thanks. I'll give it a go.

So, Adblock still has troubles, eh? My main question is whether there's still no fix for the supposed sluggishness it causes in Microb. Other issues I can deal with, but Microb is slow enough as it is.

I'm guessing there's lots of scripts for Greasemonkey for ad-removal. Has anyone found some that work well with Microb?

Lastly, to shove all of my ad-blocking questions into one post, is there a way to disable Adblock without uninstalling it?

Aciv 2008-01-09 23:29

Re: Ad blocking
 
Quote:

Originally Posted by bexley (Post 124267)
Thanks. I'll give it a go.

So, Adblock still has troubles, eh? My main question is whether there's still no fix for the supposed sluggishness it causes in Microb. Other issues I can deal with, but Microb is slow enough as it is.

I'm guessing there's lots of scripts for Greasemonkey for ad-removal. Has anyone found some that work well with Microb?

Lastly, to shove all of my ad-blocking questions into one post, is there a way to disable Adblock without uninstalling it?

It's not that hard to experiment with it, instead of relying on what other people say. Yes, you can disable it, which is handy because it causes some sites not to load at all, on my system. When it works, I don't notice any slowness penalty. In fact, it speeds things up significantly on many sites because you don't have to wait for innumerable ads to download. Give it a try.

Aciv 2008-01-09 23:34

Re: Ad blocking
 
Quote:

Originally Posted by coffeedrinker (Post 124257)
Make sure permissions and ownership are set right.

I could use a little elaboration on that if you don't mind. Thanks.

coffeedrinker 2008-01-10 00:00

Re: Ad blocking
 
Um, just make sure you can read from the directory and file as your normal user. :)

bexley 2008-01-10 00:10

Re: Ad blocking
 
Quote:

It's not that hard to experiment with it, instead of relying on what other people say.
Experiment with what? It's pretty clear that I couldn't find out how to disable it. It's not listed as a Microb component or in the settings. I've got Adblock Plus installed.

> Yes, you can disable it.

Thanks for telling me how. You chastise me for asking a question and then half-answer it.

Anyway. I'm going to try the CSS script and privoxy.

yueq 2008-01-10 01:31

Re: Ad blocking
 
My (partial) solution is modifying the /etc/hosts to point the ads sites to nowhere. This method takes care of the majority of the ads and has least impact on system performance.

Root privilege is required to modify the /etc/hosts.

munky261 2008-01-10 07:47

Re: Ad blocking
 
adblock does speed up surfing , when you already have a window open , but the 10-15 sec delay when opening a new browser window from the desktop is unacceptable.

Rebski 2008-01-10 11:01

Re: Ad blocking
 
Quote:

My (partial) solution is modifying the /etc/hosts to point the ads sites to nowhere.
I would like to do that but have no idea what it entails. Would you post a how-to, please?

free 2008-01-10 12:13

Re: Ad blocking
 
open xterm
Code:

cd /etc
sudo gainroot
wget http://www.mvps.org/winhelp2002/hosts.txt
mv hosts hosts-orig
cat hosts-orig hosts.txt > hosts
rm hosts.txt

Mvps is one out of 10 major lists existing.
http://pgl.yoyo.org/adservers/
http://www.hosts-file.net/
http://someonewhocares.org/hosts/
http://hostsfile.mine.nu/


If you have a local http server running then you should change 127.0.0.1 to something else or rely on another method.


All times are GMT. The time now is 11:15.

vBulletin® Version 3.8.8