Opera Tips & Tricks: Content Blocking
By Aleksander AasAleksander. Monday, September 6, 2010 1:48:27 PM
We came across this topic on Reddit explaining the new Flashblock feature in Chrome. As usual this isn't anything new for Opera users, as content blocking was introduced with Opera 9 in 2006.
Content block guide
- Go to any site where you want content blocked.
- Right-Click on the page, find the menu item "Block Content" or go to "Tools > Advanced > Block Content".
- Click on any flash or picture element you want blocked. The content should then appear like the picture in this post.
- Click on "Done" after selecting elements you want removed.
- You now have less unwanted content on your favorite sites!
Should you miss the adds or content you blocked, just go to content blocking again and select details to find a list of blocked content.



Paul GeorgeWolfHook # Monday, September 6, 2010 2:46:08 PM
For all my Opera installs cross platform I tend to use this urlfilter.ini which does a great job: http://www.fanboy.co.nz/adblock/opera/urlfilter.ini
Vladimir Barosvbaros # Monday, September 6, 2010 2:47:33 PM
michaelk99 # Monday, September 6, 2010 2:50:27 PM
:config? It works great as a native FLashblock.
KristianKristianP # Monday, September 6, 2010 2:51:29 PM
Originally posted by WolfHook:
haha very important block rules in your ini
Originally posted by php.ini:
redpok # Monday, September 6, 2010 2:55:26 PM
I think Opera Link sync for blocklist is coming in next version?
Dandantist # Monday, September 6, 2010 2:56:23 PM
Both the blocking described here and the urlfilter.ini lists are way too complicated for 95% of the users. No wonder Opera is still losing users. We ware waiting for AdBlock for years now, but they don't care.
Tamil # Monday, September 6, 2010 2:59:38 PM
Opera ad block filters
Pramod Ghugegeeneeyes # Monday, September 6, 2010 3:07:37 PM
..
And if you wish to unblock any content , it would be a major PITA to find the blocked content in a third party list.
http://pagead2.googlesyndication.com/*
http://*.doubleclick.net/*
http://*mdn.net/*
http://ad*.*.com/*
http://ads.*.com/*
http://*ads.*.com/*
http://*.netrefer.com/*
http://*.adbrite.com/*
http://content.yieldmanager.edgesuite.net/atoms/*
http://*magnet*
http://*.zedo.com/*
http://cdn.fastclick.net/*
http://*.com/AdsImages/*
http://ads.ibibo.com/ad/*
http://*cpxinteractive.com/*
http://*.atdmt.com/*
http://*.cpalead.com/*
http://mnstat.com/images/*
http://im.in.com/*
http://*.tribalfusion.com/media/*
http://cdn.*.com/*
http://ads.yimg.com/t/*
http://*.googleadservices.com/*
http://services.google.com/*
http://*.clicksor.com/*
http://*/adserver/*
http://*ads.*
http://cdn.*
http://dynamic*
http://akamai.*
http://*-cdn.*
http://*.adv*
http://*.ad*.net/*
http://*-analytics.com/*
http://*.yceml.net/*
http://*.amazon.com/*
http://*.linksbuck.com/*
Charles SchlossChas4 # Monday, September 6, 2010 3:10:50 PM
Tamil has a nice post
Harish Lakshminarayanaharish-l # Monday, September 6, 2010 3:14:46 PM
Originally posted by dantist:
sorta agree on this one but its not a plugin we need, its a better UI to add/subscribe/edit (other than the obvious urlfilter.ini) to an adblock list.
thegodspeed # Monday, September 6, 2010 3:52:38 PM
Artur „Jurgi” JurgawkaJurgi # Monday, September 6, 2010 3:57:16 PM
Tamil # Monday, September 6, 2010 3:58:52 PM
Originally posted by thegodspeed:
Content blocker can be disabled temporarily. See my blog for button.João EirasxErath # Monday, September 6, 2010 4:11:34 PM
Originally posted by thegodspeed:
Then you're using a bad rule that blocks too much.
Examples:
bad
good
João EirasxErath # Monday, September 6, 2010 4:12:44 PM
Originally posted by chooseopera:
Sorry, but the content blocker is *not* similar to flash block. For flash block, opera users need to enable "On Demand Plugin" in opera:config
Paul GeorgeWolfHook # Monday, September 6, 2010 4:55:03 PM
Originally posted by KristianP:
Not mine, can't take credit for that list.
Is Opera ever likely to have it's own plugin system? It does seem the obvious evolution of a web browser, having an adblock plus add-on for Opera would be a step in the right direction.
Keep on saying it in most of my posts, I like Opera, but just can't make it my default browser.
Shirish Kamathhellboy4ever # Monday, September 6, 2010 5:09:00 PM
WolvenSpectre # Monday, September 6, 2010 5:25:17 PM
Lets say you see an ad you find objectionable when in PBM. If you right click on the page the content blocking is greyed out.
If you still want to block it you do this
1. Hover over the ad, right click and copy the address, or check other properties of the ad until you have the source address of it.
2.Go to Opera Menu/Settings/Preferences/Advanced/Content and click the blocked content button. You then put the Top Level Domain of the server for the ad (eg http://www.adpurveyor.com/) and add an asterix (*) at the end to stand in for everything that could come after the TLD.
3. Reload the page and the ad should be gone.
ClashCityRockerclashcityrocker # Monday, September 6, 2010 6:27:14 PM
There is also some stuff here:
http://expertester.wordpress.com/2010/02/19/how-to-effectively-block-ads-in-opera-10/
d4rkn1ght # Monday, September 6, 2010 6:31:48 PM
Branobrano99 # Monday, September 6, 2010 7:08:01 PM
ErikshaktiIIIgta # Monday, September 6, 2010 7:48:52 PM
noscript similar
->http://my.opera.com/community/forums/topic.dml?id=241208
->http://unite.opera.com/application/641/
adblock list
->http://www.fanboy.co.nz/adblock/opera/
element hider
->http://my.opera.com/Lex1/blog/adblock-for-opera-analogue-of-adblock-plus-element-hiding-helper
->http://adsweep.org/
auto update adblock list
->http://my.opera.com/mgillespie/blog/2010/02/27/adblock-updater-service-for-windows
José Batistawyldkat # Monday, September 6, 2010 9:13:44 PM
http://my.opera.com/wyldkat/blog/2010/05/30/bloquear-elementos-ads-flash-imagens-etc
Nice tip
D1sasterp1ece # Monday, September 6, 2010 10:27:20 PM
By the way, you may want to add to the title post that just clicking on an element blocks the whole domain, while clicking on it with shift held down blocks the specific element.
Angelikiellinidata # Monday, September 6, 2010 11:12:47 PM
Cutting Spoonhellspork # Tuesday, September 7, 2010 3:03:28 AM
However, improving the ability to block iframes and individual scripts would be better.
Kyle Bakerkyleabaker # Tuesday, September 7, 2010 5:40:18 AM
http://kyleabaker.com/bbpress/topic.php?id=22
Martin K.Gunvaldfar # Tuesday, September 7, 2010 6:12:04 AM
Originally posted by michaelk99:
Because you can not deactivate this option in the site-options for a specific site. Otherwise would this feater be brilliant.
Nik_Mkdnikmkd # Tuesday, September 7, 2010 8:39:40 AM
Originally posted by Tamil:
Nicely done Tamil, but is there any solution for blocking those annoying facebook social plugin from many pages?
Tamil # Tuesday, September 7, 2010 8:43:31 AM
Originally posted by nikmkd:
Give me link to page with social plugin.Nik_Mkdnikmkd # Tuesday, September 7, 2010 9:02:54 AM
Originally posted by Tamil:
One example - http://forum.kajgana.com/index.php
Tamil # Tuesday, September 7, 2010 9:12:00 AM
Nik_Mkdnikmkd # Tuesday, September 7, 2010 9:31:35 AM
Originally posted by Tamil:
Its still there (the facebook window from right side which shows my friends that like the page)
JaredpieRr0Ur # Tuesday, September 7, 2010 9:35:01 AM
reeboker # Tuesday, September 7, 2010 11:39:33 AM
Blaz(ž) Pristavitalianjob44 # Tuesday, September 7, 2010 4:59:18 PM
contarc # Tuesday, September 7, 2010 8:42:14 PM
Sn3ipen # Tuesday, September 7, 2010 9:38:07 PM
Opera is hardly ever crashing anymore.
I even got a button for deactivating it when I want to watch videoclips in flash.
http://my.opera.com/dude09/blog/on-demand-plugin-opera-turbo
Dr. Flaydr-flay # Wednesday, September 8, 2010 6:46:43 PM
They have started including malware sites in the list, so it is more usefull than ever.
This is the best way to block sites, as you don't need to install any software or plugins.
Using the HOSTS file will block everything via any connection with LMHOSTS enabled, so it works for every browser or net/web software.
It would be far easier if Opera could open the file itself, so you can paste the content straight from the site.
I used to use a mini-browser called "Voyager 2004".
http://www.majorgeeks.com/download630.html
This browser lets you switch on/off ad-blocking via the hosts file, by over-writing the file for you, with the original backed-up hosts file.
It has the list of entries kept in its folder as a fake DLL. you can open it with notepad & replace it with an updated list.
Bingo-ringo, Bob's yer fathers brother, you can now switch full add-blocking on & off
This is what Opera should be able to do aswell, because its so easy!
reeboker # Friday, September 10, 2010 12:51:34 PM
Originally posted by contarc:
thx, just started to use the list, dunno if it's updated on daily basis but I've enabled auto-update also, wish that wget thingie worksreeboker # Friday, September 10, 2010 12:55:55 PM
Originally posted by dr-flay:
Well seems handy/interesting even only by reading it. But do you really think that classic end-user would like to mess with hosts files etc.
Well, anyways, thx for the post will look on the Voyager as you've suggested Opera should support this too.
kluKLU # Wednesday, September 15, 2010 4:18:43 PM
And frankly it's all a pain in the @rse. Especially as all that manual tweaking *might* work... but only on that one single install of Opera, and I'll have to try and repeat on all other/subsequent installs of Opera (desktop, laptop, girlfriend's laptop, triple-boot of Windows/Linux/FreeBSD, etc.).
Opera, please just give us (or allow someone else to give us, e.g. a plug-in) one single, simple way of dealing with this.
PLEASE!
Btw I'm still waiting for text-only zoom too, a mere nine years later.
Dr. Flaydr-flay # Wednesday, September 15, 2010 9:47:48 PM
Originally posted by reeboker:
Yes exactly my point. Opera should be able to update the hosts file like Voyager does.
If a program that old can do it, then so can Opera!
Pritam SahaPritamSaha # Friday, September 17, 2010 12:29:07 PM
VwzOlt # Monday, September 27, 2010 9:28:04 PM
How do you block youtube content? That's what I had in my adblock config on firefox. Thanks.
doubleclick.net$domain=youtube.com
googlesyndication.com$domain=youtube.com
/js/ads_masthead$domain=youtube.com
/yt/swf/ad-*.swf$domain=youtube.com
/api/ads/$domain=youtube.com
|http://content.yieldmanager.edgesuite.net/atoms/47/57/4f/9b/*
|http://s0.2mdn.net/2287891/*
|http://www.news9online.org/business-news/index_files/*
|http://pagead2.googlesyndication.com/pagead/*
|http://cdn1.telemetryverification.net/tv2n/presenter/deploys/inbanner/r0067/*
youtube.com##.ad-div
youtube.com###ad_creative_collapse_btn_1
youtube.com###feedmodule-PRO
youtube.com###movie-promo
youtube.com##.watch-ppv-vid
youtube.com###search-pva
youtube.com##.searchView.list-view
youtube.com##.main-tabs-spotlight
youtube.com###chrome-promo
###watch-promoted-videos-container
##.homepage-chrome-promo-content
youtube.com##DIV#quicklist-tray
youtube.com##DIV#quicklist-bar
youtube.com##DIV#quicklist-bar-container
Charles SchlossChas4 # Monday, September 27, 2010 10:12:17 PM
more info:
http://my.opera.com/Tamil/blog/ad-block
VwzOlt # Monday, September 27, 2010 11:07:01 PM
Cutting Spoonhellspork # Saturday, October 2, 2010 7:01:33 PM
Pritam SahaPritamSaha # Saturday, January 1, 2011 6:16:58 AM
D1sasterp1ece # Saturday, January 1, 2011 10:47:43 PM