Opera ad block filters
Saturday, October 21, 2006 9:53:35 AM
Try Opera or Opera Mini to see the difference.
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.
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.
- 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 in version below 11 and the following message in version 11.
Web Address Blocked
The address XYZ is blocked by the content blocker. To undo the block, open the context menu for the page, select the content blocker, and remove the address from the list of blocked content.
To undo the block, right-click on the page, select "Block Content", and click the "Details" button to edit the list of blocked content.
A frequently updated filters can be downloaded from
- www.fanboy.co.nz/adblock/
- pgl.yoyo.org/as/
- www.technobeta.com/posts/opera-ads/
- Ad Blocking FiltersetP CSS
- Filterset.G User JS
- AdSweep User JS
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/* *.ad-* *.ad.* *.adbrite.* *.adrevolver.* *.ads.* *.adsonar.* *.adtomi.* *.advertising.* *.atdmt.* *.banner* *.blogads.* *.buysellads.* *.casalemedia.* *.chartbeat.* *.click* *.directtrack.* *.doubleclick.* *.etology.* *.fastclick.* *.google.*/adfetch* *.googleadservices.* *.googlesyndication.* *.googletagservices.* *.infolinks.* *.kontera.* *.linkbuddies.* *.mochibot.* *.overture.* *.pheedo.* *.qksrv.* *.quantserve.* *.roar.* *.slickkicks.* *.tradedoubler.* *.tradepub.* *.trafficzap.* *.tribalfusion.* *.vibrantmedia.* *.wunderloop.* *.zedo.* */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.* *.2o7.net* *.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.* *.hitslink.* *.hitstats.* *.hypercounter.* *.ideal-tracker.* *.imrworldwide.* *.jellycounter.* *.linkcounter.* *.logclicks.* *.magicounter.* *.masterstats.* *.max-stats.* *.megastats.* *.metacount.* *.my-stats.* *.myfreecounter.* *.nedstat.* *.nedstatbasic.* *.nextgenstats.* *.okcounter.* *.onestat.* *.onlinecount.* *.opentracker.* *.optimizely.* *.our-counter.* *.paycounter.* *.pinkcount.* *.pluslog.* *.pmstats.* *.procounter.* *.prostats.* *.pstats.* *.q-counter.* *.qcounter.* *.realtracker.* *.refcount.* *.reliablestats.* *.relmaxtop.* *.rightstats.* *.s-tracking.* *.scorecardresearch.* *.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.*
To block Snap Preview Anywhere bubble, add the following to content blocker.
*spa.snap.com*
The following will block social network buttons.
*widgets.digg.com/button* *.facebook.com/plugins/* *.fbcdn.net/connect.* *connect.facebook.* *.gigya.* *apis.google.com/*/plusone.js *plus.google.com/*/apps-static/* *plusone.google.com/*fastbutton* *platform.linkedin.com/* *.pinterest.*pinit* *.stumbleupon.com/badge/embed/* *platform.tumblr.com/* *platform.twitter.com/*/tweet_button* *vkontakte.ru/*/share.js* *.wibiya.*
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.)
Aug 14
2010
Feb 24
Apr 2, 5
Aug 29
Dec 24
2011
Apr 23 (*.adserver.* & *.googleadservices.* removed as *adserv* blocks them. Thanks to kulma. *.2o7.net* moved to counters.)
2012
Apr 9
Oct 20








