Skip navigation.

exploreopera

| Help

Sign up | Help

Opera FAQ's, Tips, Tricks & Tweaks

More 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. If you use Lifehacker, remove */ads.* from the following.

*-ad.cgi*
*-ads/*
*.2o7.net*
*.ad-*
*.ad.*
*.adbrite.*
*.adrevolver.*
*.ads.*
*.adserver.*
*.adtomi.*
*.advertising.*
*.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*
*view.atdmt*
*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.*
*.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.

*.flickr.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

How to correct wrong favicons in Opera bookmarks & personal bar?Updated posts

Comments

avatar
Great! Thanx for the infos. :smile:

By Darken, # 21. October 2006, 21:01:52

avatar
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.

By anonymous user, # 7. November 2006, 14:52:39

avatar
banner
click
http://ad*
This will block good ones. For example http://adobe.com/

By Tamil, # 7. November 2006, 15:09:11

avatar
What link is the best to choose?

By MindTooth, # 18. January 2007, 18:08:23

avatar

Originally posted by Nordoelum:

What link is the best to choose?
http://www.fanboy.co.nz/adblock/opera/urlfilter.ini

By Tamil, # 18. January 2007, 21:32:51

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

By Liberalist, # 28. February 2007, 13:47:21

avatar
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.

By Liberalist, # 9. March 2007, 17:27:25

avatar
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

By osolomio, # 21. March 2007, 19:04:40

avatar

Originally posted by osolomio:

*/popup.*------ this gave me empty needed info popups
Thanks, it is removed.

By Tamil, # 21. March 2007, 23:58:10

avatar
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.

By anewuser, # 7. April 2007, 00:25:27

avatar
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?

By Gofo, # 25. April 2007, 04:08:18

avatar

Originally posted by Gofo:

has it simply been optimized without losing effectiveness?
:yes:

By Tamil, # 25. April 2007, 04:21:21

avatar
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.

By Gofo, # 25. April 2007, 06:30:57

avatar
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/*

By Tamil, # 25. April 2007, 06:54:45

avatar
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).

By Gofo, # 25. April 2007, 07:03:28

avatar
at least on www.archlinux.org they don't
Ad on that page comes from http://pagead2.googlesyndication.com/pagead/show_ads.js

By Tamil, # 25. April 2007, 07:09:52

avatar
Useful,thanks:up:

By szbj, # 9. May 2007, 09:56:31

avatar
Anon writes:

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

By anonymous user, # 2. June 2007, 21:18:31

avatar
Nxqd3051990 writes:

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

By anonymous user, # 29. June 2007, 00:19:22

avatar

Originally posted by Nxqd3051990:

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

By Tamil, # 29. June 2007, 00:21:21

avatar
Great man :D
nXqd

By Nxqd3051990, # 29. June 2007, 00:30:48

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

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

By anonymous user, # 10. July 2007, 03:54:13

avatar
Anonymous writes:

Thanku for help to remove AIDS by Google.

By anonymous user, # 10. July 2007, 04:22:46

avatar

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

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

By Tamil, # 10. July 2007, 04:25:11

avatar
Thanks for the support Tamil :smile:

By mp3geek, # 11. July 2007, 04:53:19

avatar
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... :)

By anonymous user, # 22. July 2007, 11:51:51

avatar
you may want to change link #2 from pgl.yoyo.org/adservers/ to pgl.yoyo.org/as/
Both contains same filters. :confused:

By Tamil, # 22. July 2007, 14:01:02

avatar
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*

By anonymous user, # 22. July 2007, 14:53:49

avatar
Homer: Doh! Thanks.

By Tamil, # 22. July 2007, 15:00:47

avatar
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.

By jjulagay, # 30. July 2007, 02:54:55

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

By Lex1, # 31. July 2007, 16:14:40

avatar
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.

By East-Texas, # 20. August 2007, 02:39:27

avatar
Anonymous writes:

how do add this filter to opera?

By anonymous user, # 26. August 2007, 22:01:39

avatar
how do add this filter to opera?
See line Add the following under [exclude] section of urlfilter.ini file.

By Tamil, # 27. August 2007, 15:01:45

avatar
Anonymous writes:

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

By anonymous user, # 29. August 2007, 23:34:01

avatar
Does this filter block the cookies or just the image from loading?
It will block everything.

By Tamil, # 30. August 2007, 03:03:38

avatar
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?

By anonymous user, # 3. September 2007, 16:28:37

avatar
Did you add after closing Opera?

By Tamil, # 3. September 2007, 16:32:01

avatar
Anonymous writes:

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

By anonymous user, # 3. September 2007, 16:40:36

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

By Tamil, # 3. September 2007, 16:46:47

avatar
Anonymous writes:

Thanks Tamil

By anonymous user, # 3. September 2007, 21:32:42

avatar
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: :smile:

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

By anonymous user, # 1. October 2007, 19:06:54

avatar
Anonymous writes:

Hello?

By anonymous user, # 1. October 2007, 19:07:56

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

By Lex1, # 7. October 2007, 20:38:07

avatar
Darko,

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

By mp3geek, # 27. October 2007, 03:13:58

avatar
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.

By shrivipha, # 28. October 2007, 13:57:33

avatar
Anonymous writes:

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

By anonymous user, # 10. November 2007, 15:30:00

avatar
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 .

By Tamil, # 11. November 2007, 03:30:47

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

By chuuey, # 12. November 2007, 17:04:06

avatar
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:

By mp3geek, # 17. November 2007, 00:21:11

Write a comment

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

Please type this security code : 8b8020

Smilies

October 2008
SMTWTFS
September 2008November 2008
1234
567891011
12131415161718
19202122232425
262728293031