LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2006, 11:56 PM   #1
bnchakraborty
LQ Newbie
 
Registered: Oct 2003
Location: India
Posts: 21

Rep: Reputation: 15
How to block ads in firefox?


Dear Friends,
My default browser is firefox 1.5. When I open a saved webpage offline, firefox try to go online for some adds set on the page and doesn't display the content. How can I set firefox to ignore these adds and display the contents? I use Fedora Core 5.
With regards.
--bnchakraborty
 
Old 06-14-2006, 12:35 AM   #2
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
There's a couple of ways to do this. You could use an ad blocker or add the site that these ads come from to your hosts file and have it set the IP address to the localhost.
 
Old 06-14-2006, 12:51 AM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by SweetLou
You could use an ad blocker...
...or you could install Privoxy as an alternate.
 
Old 06-14-2006, 09:11 AM   #4
drj000
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
I use two extensions to do that: Adblock Plus and Adblock Filterset.G Updater. Adblock Plus blocks elements of webpages based on certain rules. Adblock Filterset.G Updater periodically downloads a set of rules to ensure all your adds are getting blocked. I never see an ad.
 
Old 06-14-2006, 12:58 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I installed the filterset.G thing and now my adblock doesn't work right at all. I read somewhere that the two should not be installed at the same time. Based on what I have ran into, it may be true.

Thought I would mention that.

 
Old 06-14-2006, 01:06 PM   #6
fedora4002
Member
 
Registered: Mar 2004
Posts: 135

Rep: Reputation: 15
Quote:
Originally Posted by SweetLou
There's a couple of ways to do this. You could use an ad blocker or add the site that these ads come from to your hosts file and have it set the IP address to the localhost.
If you used this approach, you would be suprised to see how many ads there are. Someone has kept a updating version of this host file. Just download it directly. It will works fine.
 
Old 06-14-2006, 01:29 PM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by dalek
I installed the filterset.G thing and now my adblock doesn't work right at all. I read somewhere that the two should not be installed at the same time. Based on what I have ran into, it may be true.
I think you have to remove adblock and install adblock plus for the filterset.G extension to work.
 
Old 06-14-2006, 08:43 PM   #8
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
why install anything? we are not made of ram.

just google "mike's ad blocking hosts file" and download it overwriting your hosts file.
 
Old 06-14-2006, 09:15 PM   #9
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
firefox extensions page should have "adblock and no-script" that you can install.
 
Old 06-14-2006, 10:03 PM   #10
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
I use adblock and filterset.G without a problem. I tried adblock plus once but didn't like it. I forget why, it was awhile ago. But with adblock and filterset.G, I rarely see an ad.

The hosts file will work, but you do need to keep it updated.
I have no idea how much more RAM would be used by adding this extension, but I can't imagine it would be much. If your hosts file is very large, it will slow down Firefox.
 
Old 06-14-2006, 11:05 PM   #11
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I have a little over 15,000 lines in my hosts file and Mozilla moves right along. It doesn't seem to have slowed anything down here. Anybody that wants a copy of my hosts file can PM me their email address and I will send them a copy. I don't see very many ads. The biggest one I hate is roping that stupid cow on weather.com. I hate that stupid thing.

The reason I want adblock to work again is this, it can block a specific directory that contains ads and not block the whole server like the hosts file does. My adblock does not work any more and all I did was install the filterset.G thing. I can't even get it to unistall itself now.

Later

 
Old 06-15-2006, 07:46 AM   #12
bnchakraborty
LQ Newbie
 
Registered: Oct 2003
Location: India
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you all for your kind replies. I have installed adblock plus extension and it's working well.
 
Old 06-15-2006, 02:26 PM   #13
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Rep: Reputation: 30
The best thing to do is to use Opera.
 
Old 06-16-2006, 12:58 AM   #14
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
Thanks pAn1k, but that was not his question.
 
Old 07-29-2006, 10:03 PM   #15
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
There are these pesky Google ads on my forum (ProBoards) which I never saw while using Windoze because I was running an app called AdSubtract Pro which killed the nasty bastards. However, since coming to Linux and using FF, I've had a hard time finding a combination of tricks to kill those damned ads. I tried AbBlock with a custom filter of the Google ads... no dice. I tried AdBlock Plus with a similar custom filter... no dice. I read a post above here by SweetLou mentioning Filter Set G. I tried it with AdBlock... no dice. I tried it with AdBlock Plus... SUCCESS! No more of those damned Google ads on my forum!

Thanks, Lou!

~Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Firefox Picks User Ads LXer Syndicated Linux News 0 04-30-2006 12:33 PM
Checkout these firefox video ads reddazz General 3 05-13-2005 01:16 AM
best way to block layer ads in firefox? ylikone Linux - Software 2 04-25-2005 03:56 PM
Make MozillaFirebird block sites *not popup/ads* GT_Onizuka Linux - Software 4 11-02-2003 03:52 PM
block ads (doubleclick and aol) servers using iptables LionKing Linux - Security 4 02-18-2002 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration