Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

Subscribe to RSS feed

Posts tagged with "Content Blocker"

Opera advanced content blocking

, , , ...

You can't block certain elements using Opera built-in content blocker user interface. For example, the social networking buttons in Opera extensions page cannot be blocked by the usual way but can be blocked manually using info panel as shown below.

Social Networking Buttons
Social networking buttons

  1. Click + button in panel selector and enable info panel.
  2. Open info panel and scroll down to scripts/inline frames.
  3. Find the URL (probably off-site) of the script/inline frame, copy and add it to the content blocker manually Alt + P > Advanced > Content > Blocked Content... > Add....
    • For inline frames, you can check the content before adding to the content blocker by opening it.
    • Ignore the content after ? in the URL and replace ? with *. For example, instead of adding the following to block VKontakte button,
      http://vkontakte.ru/js/api/share.js?11
      add the following to the content blocker.
      http://vkontakte.ru/js/api/share.js*
  4. Reload the page and check whether content is blocked.

Opera Info Panel
Info panel

By examining info panel, you can create filters to block Twitter, VKontakte, Google+ and Facebook social networking buttons.

*platform.twitter.com/*/tweet_button*
*vkontakte.ru/*/share.js*
*plusone.google.com/*fastbutton*
*apis.google.com/*/plusone.js
*plus.google.com/*plusone*
*.facebook.com/plugins/*

How to delete data from Opera Link?

, , , ...

Currently there is no option to delete data from Opera Link quickly but you can delete by the following method.

  1. Create a backup of the following files. Click link to see file path.
  2. Enable Opera Link and enable the items you want to delete from Opera Link.
  3. The following will delete local data and synchronization will delete data from Opera Link.
    • Open manage bookmarks Ctrl + Shift + B, delete all bookmarks and then empty trash.
    • Open notes, delete all notes and then empty trash.
    • Ctrl + T > Delete all Speed Dials
    • Alt + P > Advanced > Content > Blocked Content... > Delete all blocked sites
    • F8 > > Delete all typed addresses
    • Alt + P > Search > Delete all search engines
    • Alt + P > Forms > Password Manager...> Delete all passwords
  4. Go to Opera Link and make sure bookmarks, notes and Speed Dials are empty.
  5. Disable Opera Link.
  6. Close Opera.
  7. Restore files from backup.

Opera ad block filters

, , , ...

Get a faster browser, download Opera

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

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