Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

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

Paste and go in new tab with middle click on Opera tab barOpera Community Member Statistics for 2011

Comments

Ravindran NavaneethanRavindran Thursday, December 1, 2011 1:22:46 PM

Nice tip. Thanks.

We can do the same thing using ghostery bug blocking list. It covers almost 700 3rd party widget and easy to block.

chuuey Thursday, December 1, 2011 1:36:54 PM

wow, i've been looking for a way to block that stuff.

Mağruf ÇolakoğluZAHEK Thursday, December 1, 2011 1:40:16 PM

Hıım very nice smile

Sintti Thursday, December 1, 2011 2:03:32 PM

It would be really really really helpful if that info panel would indicate which scripts/iframes/stylesheets have already been blocked. I all the time notice that I have multiple rules that do the same thing.

I posted about this on the desktop wish-lish forum a while ago: http://my.opera.com/community/forums/topic.dml?id=1096752

d4rkn1ght Thursday, December 1, 2011 6:26:59 PM

Fantastic! up banana

Tamil Friday, December 2, 2011 8:32:26 AM

Originally posted by Ravindran:

We can do the same thing using ghostery bug blocking list.

yes but it won't block everything.

Originally posted by Sintti:

It would be really really really helpful if that info panel would indicate which scripts/iframes/stylesheets have already been blocked.

http://files.myopera.com/Tamil/Smilies/Yes.gif -

Originally posted by d4rkn1ght:

banana

http://files.myopera.com/Tamil/Smilies/Drool.gif -

Cutting Spoonhellspork Friday, December 2, 2011 7:27:26 PM

For anyone wondering if they have multiple rules that do the same thing:

R-click, "Block Content", "Details"

There should be a list of things that are blocked on the current page, if rules overlap their addresses should be next to each other in the list (making them easier to spot).

It would be nice if the Info panel got an update with more tools, for that matter if the rendering system had sorting options.

Guscitizenofgaya Saturday, December 3, 2011 10:23:47 AM

Thanks, Tamil! Now I can uninstall Ghostery!

Jimtoyotabedzrock Thursday, December 8, 2011 11:40:28 PM

Thats how I always use the Opera content blocker.

TerDale Tuesday, December 20, 2011 5:08:42 PM

Thanks Tamil, I never figured out that I could use the Info panel to get rid of these pesky scripts or inline frames, I was looking at the page source instead p
You've definitely helped to make my future more comfortable wink

night wolf Wednesday, December 21, 2011 8:35:11 PM

Happy Yalda Night wink

Unregistered user Friday, June 22, 2012 12:20:43 PM

Anonymous writes: I have added the google+1 and the facebook button/dialog in block addresses but it still loads into my history :( I do not see the G+1 button but when browsing my history all of them are still being loaded. I don't like my history being full of buttons like ads.

Tamil Friday, June 22, 2012 2:10:26 PM

What addresses you are seeing in history?

Unregistered user Saturday, June 23, 2012 3:28:49 PM

Anonymous writes: I am seeing "plusone.google.com/_/+1/fastbutton" and "facebook.com/dialog/bla-bla..."

Tamil Sunday, June 24, 2012 1:49:01 PM

Add the following filters to the content blocker.
*plusone.google.com*
*.facebook.com/dialog/oauth*

Unregistered user Monday, June 25, 2012 5:32:54 PM

Anonymous writes: I already had the *plusone.google.com* added :( with the plusone./*fastbutton. and the *plus.google.com*/plusone*.

Tamil Thursday, June 28, 2012 10:49:24 AM

sherlock

Unregistered user Friday, June 29, 2012 10:36:22 PM

Anonymous writes: I am putting a link to a print screen where you can see my blocked content settings and the history filled with plusone's. It might help in investigating this strange behavior. http://i46.tinypic.com/21az8lw.png

Unregistered user Saturday, July 14, 2012 2:26:14 PM

Anonymous writes: Do you need more data for investigating this? I am still getting those addresses saved in history although they are blocked[as seen in the picture] :(

Tamil Thursday, July 19, 2012 12:16:05 AM

Check whether content blocker is disabled in site preferences.

Unregistered user Thursday, September 27, 2012 3:56:21 PM

Anonymous writes: Weirdly after upgrading to the newest build of Opera 12, the 12.02, the issue seems to have disappeared and no plusone or facebook button recorded in history. Weird. Thanks ;)

fefrie Tuesday, December 25, 2012 3:48:12 AM

Wondering if this is still relavent? I've followed these instructions, but I"ve just noticed that those pesky buttons pop up here:

http://armorgames.com/play/10317/gemcraft-labyrinth

Tamil Tuesday, December 25, 2012 5:04:19 AM

Screeshot?

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

If you can't read the words, press the small reload icon.


Smilies