Skip navigation.

Opera FAQ's, Tips, Tricks & Tweaks

Cool tips about Opera browser

Opera ad block filters

, , , , , , , , , , ,

If you are new to content blocking in Opera, see tutorial.

Easy way to block ads is to disabling the IFrames & JavaScript globally and enabling them for required sites in site preferences.

To block particular JavaScript or IFrame ad in a page, open info panel, note path under Scripts or Inline frames and add it to content blocker. Tools → Preferences... → Advanced → Content → Blocked Content... → Add...

To block flash use Flashblock for Opera 9.

From Opera 9.50, you can enable/disable content blocker globally using Block Ads button or per site basis using site preferences. F12 → Edit Site Preferences... → Content → Enable content blocking

  • Large urlfilter.ini file will increase startup time of Opera.
  • You will get blank page when you try to visit a site blocked by content blocker.

A frequently updated filters can be downloaded from

Optimized filter to block most of the ads
Add the following under [exclude] section of urlfilter.ini file (see this if you don't have one) after closing Opera.

*-ad.cgi*
*-ads/*
*.2o7.net*
*.ad-*
*.ad.*
*.adbrite.*
*.adrevolver.*
*.ads.*
*.adserver.*
*.adtomi.*
*.advertising.*
*.atdmt.*
*.banner*
*.blogads.*
*.casalemedia.*
*.click*
*.doubleclick.*
*.fastclick.*
*.google.*/adfetch*
*.googleadservices.*
*.googlesyndication.*
*.kontera.*
*.linkbuddies.*
*.mochibot.*
*.overture.*
*.pheedo.com*
*.qksrv.*
*.quantserve.*
*.roar.*
*.slickkicks.*
*.tradedoubler.*
*.tradepub.com*
*.trafficzap.*
*.tribalfusion.*
*/accresults.*
*/ad.*
*/ad/*
*/ad_*
*/adbot.*
*/adc_*
*/adclient.*
*/adcouncil/*
*/adframe.*
*/adgifs/*
*/adgraph/*
*/adimages/*
*/adinfo*
*/adlog.*
*/adlog/*
*/adrotator.*
*/ads.*
*/ads/*
*/ads_*
*/advert*
*/adview.*
*/affiliates/*.js
*/banner/*
*/banners/*
*/hotfreebies.html*
*/housead/*
*/liveads/*
*/pagead/*
*/phpads/*
*/pop.cgi*
*/pop.htm
*/pops/*
*/poptest.*
*/popup/*
*/printads/*
*/redir.asp*
*/skyscraper/*
*/softad/*
*/sponsor/*
*/sponsors/*
*/tw/adt*
*120x240*
*120x600*
*120x90*
*160x600*
*234x60*
*336x280*
*468x60*
*728x90*
*_ad.js
*_ad_*
*_ads.js
*_ads_*
*_advert*
*_adx_*
*_banner_*
*_borders/*
*_superad*
*a.p.f.qz.*
*a.r.tv.*
*ad-flow*
*ad.trafficmp.*
*ad_type*
*adbot*
*adclick*
*adclix*
*adclub*
*adcycle*
*adflight*
*adframe*
*adimage*
*adknowledge*
*adlink*
*adlogix.*
*admaximize*
*admex*
*admonitor*
*adpulse*
*adrunner*
*adserv*
*adsoftware*
*adswap*
*adtomi.*
*aureate*
*avenuea*
*banner.*
*banners.*
*bluestreak.*
*burstmedia*
*burstnet*
*clickxchange*
*darkblue.*
*darkbluesea.*
*dbbsrv.*
*exitpopup*
*flycast*
*focalink*
*headerpopup*
*hitexchange*
*hitlist*
*hitsites*
*houseads_*
*i.us.rmi.yahoo.*
*imaginemedia*
*intellitxt*
*jsads*
*linkads*
*linkexchange*
*linkpopup*
*linkshare*
*linksynergy*
*media.fastclick*
*paypopup*
*popieen.*
*popme.*
*popunder*
*popupad*
*ps.interpolls.*
*radiate*
*secure.webconnect*
*smartsize_*
*spinbox.versiontracker.*
*spylog*
*subs.timeinc.*
*toolbar.google.*
*trafic.ro/*
*us.a1.yimg.*
*us.f.yahoofs.*
*valueclick*
*x.mycity.*
*z.about.*
*zdmcirc*


The following will block most of the counters. Don't add the following filters if you want to show Opera in browser statistics.

*.123count.*
*.123counted.*
*.3dstats.*
*.4count.*
*.a-counters.*
*.acestats.*
*.addfreestats.*
*.aflashcounter.*
*.amazingcounters.*
*.analytics.live.*
*.christianstats.*
*.clickcounters.*
*.clickwit.*
*.coolwebcounter.*
*.count-all.*
*.counted.*
*.counter-intelligence.*
*.counter.*
*.counter4all.*
*.counterbot.*
*.countercentral.*
*.counters.*
*.counting4free.*
*.countmypage.*
*.countville.*
*.cqcounter.*
*.dataplain.*
*.debuging.*
*.devstats.*
*.digits.*
*.downloadcounter.*
*.dstats.*
*.easycounter.*
*.evostats.*
*.extreme-dm.*
*.extremewebstats.*
*.fakecounter.*
*.fastcounter.*
*.fastonlineusers.*
*.fhcotn.*
*.fishclix.*
*.flowcounter.*
*.free-hit-counter.*
*.free-hit-counters.*
*.free-stats.*
*.free-web-counters-online.*
*.freehitcounter.*
*.freeinvisiblecounters.*
*.freestats.*
*.freestatscounter.*
*.freeweblogger.*
*.fxcounters.*
*.geo.yahoo.*
*.goldstats.*
*.google-analytics.*
*.gostats.*
*.guesttrace.*
*.histats.*
*.hit-counter.*
*.hit-o-meter.*
*.hit-tracker.*
*.hitbox.*
*.hitmatic.*
*.hits-counter.*
*.hitscreen.*
*.hitstats.*
*.hypercounter.*
*.ideal-tracker.*
*.jellycounter.*
*.linkcounter.*
*.logclicks.*
*.magicounter.*
*.masterstats.*
*.max-stats.*
*.megastats.*
*.metacount.*
*.my-stats.*
*.myfreecounter.*
*.nedstat.*
*.nedstatbasic.*
*.nextgenstats.*
*.okcounter.*
*.onestat.*
*.onlinecount.*
*.opentracker.*
*.our-counter.*
*.paycounter.*
*.pinkcount.*
*.pluslog.*
*.pmstats.*
*.procounter.*
*.prostats.*
*.pstats.*
*.q-counter.*
*.qcounter.*
*.realtracker.*
*.refcount.*
*.reliablestats.*
*.relmaxtop.*
*.rightstats.*
*.s-tracking.*
*.servustats.*
*.shinystat.*
*.shockcounter.*
*.site-stats.*
*.sitemeter.*
*.sitestats.*
*.sitetracker.*
*.sitetrafficanalyzer.*
*.sitetrafficstats.*
*.statcounter.*
*.stats4all.*
*.stats4me.*
*.stats4you.*
*.statsbank.*
*.statsession.*
*.statsforyoursite.*
*.statsrjnc.*
*.statswhere.*
*.stattrax.*
*.supercounters.*
*.superstats.*
*.td-soft.*
*.tdstats.*
*.the-counter.*
*.thecounter.*
*.trackyourstats.*
*.trafficexaminer.*
*.trafficfile.*
*.trafficserverstats.*
*.true-counter.*
*.trustats.*
*.tulipstats.*
*.ultimatecounter.*
*.ultrastatsnet.*
*.urgentclick.*
*.usertracer.*
*.vioclicks.*
*.virtualmall.*
*.vstats.*
*.w3counter.*
*.web-stat.*
*.webcounter.*
*.webhitcounter.*
*.webhits.*
*.websitestatistics.*
*.websitetracker.*
*.websitetrafficreport.*
*.webstat.*
*.webstats4u.*
*.webtistic.*
*.webtrends.*
*.whowasthere.*
*.wundercounter.*
*.wysistat.*
*.xcounters.*
*.xstats.*
*.xxxcounter.*
*.yahoostats.*
*.yourstats.*
*counter*.bravenet.*
*counter.hitslink.*


To block Snap Preview Anywhere bubble, add the following to content blocker.

*spa.snap.com*


To save images from Flickr, add the following to content blocker.

*.yimg.com/*/spaceball.gif


If you don't have urlfilter.ini file, create a text file with the following, place it inside profile and restart Opera.

Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding

[prefs]
prioritize excludelist=1

[include]
*

[exclude]
Remove this line and add ad block filters here.


Updates:
2007
Feb 1
Apr 7 (*i.imdb* removed as it blocks CSS. Thanks to M3CSL.), 22
Jun 12
Sep 3,12
Oct 2 (*popup_* & *.mochiads.* removed), 8 (*_popup.* & */tracker/* removed. Thanks to Lex1.)
Nov 16

2008
Feb 24
Apr 13 (*/ads.* blocks Lifehacker CSS), 23
May 20
Jun 15, 28 (*.google.*cleardot.gif & *doubleclick* removed. Thanks to mp3geek.)
Jul 2,3
Aug 8

2009
Jan 28
Mar 18, 30 (*view.atdmt* changed to *.atdmt.*. Thanks to Chas4.)

வருக! (Welcome!)Updated posts

Comments

Darken 21. October 2006, 21:01

Great! Thanx for the infos. :smile:

Anonymous 7. November 2006, 14:52

Anonymous writes:

Hey! Why you keep so big list?
Most of advert blocked by simple words:

banner
click
count
hotlog
spylog
linkexchange
http://ad*

All another you can add on the way.

Tamil 7. November 2006, 15:09

banner
click
http://ad*

This will block good ones. For example http://adobe.com/

MindTooth 18. January 2007, 18:08

What link is the best to choose?

Tamil 18. January 2007, 21:32

Originally posted by Nordoelum:

What link is the best to choose?

http://www.fanboy.co.nz/adblock/opera/urlfilter.ini

Liberalist 28. February 2007, 13:47

This was really helpful, thank you very much, Tamil!

Liberalist 9. March 2007, 17:27

Apparantly, your list creates an issue with the RTF (rich text editor) of Gmail. So it might be helpful for Gmail users to have an alternate list (which doesn't block google ads and other sites). However, since it is still such a long list, I won't post it as a comment, but would rather e-mail it to you so you can edit the site accordingly.

osolomio 21. March 2007, 19:04

Useful Info popups have no content because of Urlfilter

Originally posted by osolomio:

I had this happen to me yesterday but got by without , and didn't open other browser to confirm as Opera prob. Today when the same thing happened I did open the page in IE7 and the pop-up had content.

Well the fault lay in my "urlfilter.ini". I copied and pasted this from this forum, or should I say from a members blog. I'll have a look around and see if I can find it again and maybe alert the poster of this outcome. All in all I'm very happy with the benefits of the urlfilter and been using it for a few months now.
*/poptest.*
*/popup.*------ this gave me empty needed info popups
*/popup/*
*/printads/*
*/redir.asp*

My post: http://my.opera.com/community/forums/findpost.pl?id=1961681

Tamil 21. March 2007, 23:58

Originally posted by osolomio:

*/popup.*------ this gave me empty needed info popups

Thanks, it is removed.

anewuser 7. April 2007, 00:25

Hi.

have you seen sites like yahoomail, it still suffers from ads when view email. It might be script based, but was wondering if by any chance something could be added to the list?

Thanks in advance.

Gofo 25. April 2007, 04:08

hmm, How exactly is your optimized filter different from fanboy's urlfilter.ini? Does it block less ads, or has it simply been optimized without losing effectiveness?

Tamil 25. April 2007, 04:21

Originally posted by Gofo:

has it simply been optimized without losing effectiveness?

:yes:

Gofo 25. April 2007, 06:30

I don't think it's exactly like that. If you go to www.reference.com, for example, you get an ad, which is blocked by fanboy's urlfilter.

Anyway, I don't mean to be a pest, sorry.

Do you know how I can UNblock google ads when using fanboy's urlfilter? I've been trying and I can't get it right.

Tamil 25. April 2007, 06:54

Do you know how I can UNblock google ads when using fanboy's urlfilter? I've been trying and I can't get it right.

Remove the following lines.
*google_ad*
*googlead*
*google-analytics.com/*

Gofo 25. April 2007, 07:03

That's what I initially tried because it's the obvious thing to do, I also removed *adsense* and *pagead* but google ads still don't show up (at least on www.archlinux.org they don't).

Tamil 25. April 2007, 07:09

at least on www.archlinux.org they don't

Ad on that page comes from http://pagead2.googlesyndication.com/pagead/show_ads.js

szbj 9. May 2007, 09:56

Useful,thanks:up:

Anonymous 2. June 2007, 21:18

Anon writes:

Great stuff! I was using AdMuncher until it started crashing (otherwise a really great program!), but this is way better!

Anonymous 29. June 2007, 00:19

Nxqd3051990 writes:

is this file backup by opera backup ( by you - tamil ) ?
nXqd

Tamil 29. June 2007, 00:21

Originally posted by Nxqd3051990:

is this file backup by opera backup ( by you - tamil ) ?

:yes:

Nxqd3051990 29. June 2007, 00:30

Great man :D
nXqd

Anonymous 10. July 2007, 03:54

हनुमान भक्त writes:

हे भाई हनुमान जी ओपेरा को कहाँ ले जा रहे है। क्या उनको भी इन्ट्र्नेट ब्राऊजिंग की जरूरत पड गयी। वैसे कौन सा जानकारी चाहिये उन्हे? कुछ पता है?

Anonymous 10. July 2007, 04:22

Anonymous writes:

Thanku for help to remove AIDS by Google.

Tamil 10. July 2007, 04:25

Originally posted by हनुमान भक्त:

हे भाई हनुमान जी ओपेरा को कहाँ ले जा रहे है। क्या उनको भी इन्ट्र्नेट ब्राऊजिंग की जरूरत पड गयी। वैसे कौन सा जानकारी चाहिये उन्हे? कुछ पता है?

Could you translate it to English?

mp3geek 11. July 2007, 04:53

Thanks for the support Tamil :smile:

Anonymous 22. July 2007, 11:51

Anonymous writes:

you may want to change link #2 from
pgl.yoyo.org/adservers/
to pgl.yoyo.org/as/
(or more precisely: http://pgl.yoyo.org/as/serverlist.php?hostformat=operafilter&showintro=0&mimetype=plaintext)

or remove the entry *adserv* in your list... :)

Tamil 22. July 2007, 14:01

you may want to change link #2 from pgl.yoyo.org/adservers/ to pgl.yoyo.org/as/

Both contains same filters. :confused:

Anonymous 22. July 2007, 14:53

Anonymous writes:

no...the idea was to change the URL from pgl.yoyo.org/adservers/
to the alternate one pgl.yoyo.org/as/ ; otherwise using your urlfilter.ini above will prevent this site from loading because of the expression *adserve*

Tamil 22. July 2007, 15:00

Homer: Doh! Thanks.

jjulagay 30. July 2007, 02:54

For a while now, about.com to me always looked weird. It was always just all text as if it had no styles, looked like it was in user mode (which it was not). I finally found out that deleting urlfilter.ini, fixes this. I like this ad filter list, but can you fix it so that about.com works? thanks.

Lex1 31. July 2007, 16:14

*/adc_* blocked css on http://www.accuweather.com/
*/sponsor/* blocked download from ifolder.ru

East-Texas 20. August 2007, 02:39

This list works a little better than the one I did.
A lot were the same, but some of mine were a little over-kill on some some sites.

The hardest to kill so far are the CSS Style Ads.

Anonymous 26. August 2007, 22:01

Anonymous writes:

how do add this filter to opera?

Tamil 27. August 2007, 15:01

how do add this filter to opera?

See line Add the following under [exclude] section of urlfilter.ini file.

Anonymous 29. August 2007, 23:34

Anonymous writes:

Does this filter block the cookies or just the image from loading?

Tamil 30. August 2007, 03:03

Does this filter block the cookies or just the image from loading?

It will block everything.

Anonymous 3. September 2007, 16:28

Anonymous writes:

I added all these sites to my urlfilter file a couple of days ago and all was good. I went to add some more sites and discovered the file was gone?!? Anyone have an idea of how it would just disappear like that?

Tamil 3. September 2007, 16:32

Did you add after closing Opera?

Anonymous 3. September 2007, 16:40

Anonymous writes:

I believe so Tamil. how can i rebuild it? just reinstall opera?

Tamil 3. September 2007, 16:46

Download this, replace [exclude] section with my filters, close Opera and place it inside your profile.

Anonymous 3. September 2007, 21:32

Anonymous writes:

Thanks Tamil

Anonymous 1. October 2007, 19:06

Darko writes:

Hi Tamil!

First things first: Great list!! This is the first time I use advanced adblocking (aside from Opera's standard popup blocker) and it feels just great!

But I want to add two things to maybe make your list better: :)

When you go to www.web.de (a German email provider) and click on "Freemail", you get a popup that's not blocked. You can, however, block its content by adding something like "*adclient.*" to the list, as its web address is "http://adclient.uimserv.net".

Next thing: I went to an online computer shop the other day and wanted to look at a picture of an item more closely. But it was a popup again and to do that I had to remove "*popup_*" as it's address was something with "popup_image".

Thanks again, I hope I could help.
Darko

Anonymous 1. October 2007, 19:07

Anonymous writes:

Hello?

Lex1 7. October 2007, 20:38

«*_popup.*» breaks TinyMCE (tiny_mce_popup.js)
«*/tracker/*» breaks many Torrents.

mp3geek 27. October 2007, 03:13

Darko,

*adclient* is listed among the filters I have, so it should be blocked. I did visit the site anyways, and no popup :smile:

shrivipha 28. October 2007, 13:57

Very helpful information, Tamil. I have used this list for a while now, and it works like a wonder. However, *banner.* blocks top banners of many websites, for instance, banner.jpg gets blocked.

I especially liked the ad-counter list as separate. Cuz I want opera to be counted among browser statistics.

Thanks again.

Anonymous 10. November 2007, 15:30

Anonymous writes:

is there a way to not filter a whole website that i need while using this list to block others? Thanks :D

Tamil 11. November 2007, 03:30

is there a way to not filter a whole website that i need while using this list to block others?

That option will be available in upcoming Opera 9.50 .

chuuey 12. November 2007, 17:04

ah.. i see, thanks for the information then :D

mp3geek 17. November 2007, 00:21

The whitelist function is very limited, I've been playing with the feature in Opera 9.5 beta, you can whitelist an entire site, but not part of site (like a directory from a site) or use any whitecards. Disappointing :frown:

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Type the two words displayed in the image below:


Smilies

Download Opera, the fastest and most secure browser