Recommended Posts

OK, it's probably been posted before but one more time won't hurt, and besides i haven't seen a comprehensive guide on it in one post so...:

FX users have adblock and are happy with it. For various reasons Opera Software is unlikely to bundle an adblocking feature so we have to make one ourselves.

As far as i know, there are 2 main steps to adblocking in opera. one is through use of the filter.ini file, which basically cancels all connections to specified servers in the file (if you have heard of windows\system32\drivers\etc\hosts file tinkering, it does sort of the same on an OS level, so i think it's too drastic but it's still not going to cause problems if you have it on)

the other way, much more interesting and powerful, and approaching the niceness of FX's adblock, is through use of custom css.

1. Filter.ini way:

easiest is to get the opera filter prog from http://www.monroeworld.com/operafilter/

run it and it will ask for your opera6.ini file (main opera config file in use, you can find its location by going to help > about in Opera). then it will create a filter.ini file for you in your user profile folder. there's a function in the ad filter prog. - go to internet > get our ad server list and it'll download a fairly big list already. otherwise, as long as you keep the program open, you can right-click any image, copy its link and a window pops up asking you to add this path to the filter.ini

things to keep in mind: every time you update any of opera's ini files, changes will take effect only after a restart of the program.

disadvantages to method: it requires you to keep an extra prog running, so i advise getting the list from the program update feature and not bother with it anymore, it is fairly comprehensive already. also the opera restart requirement.

2. user.css way:

disclaimer - i know nothing about programming in any computer language, i probably couldn't even make a css file to make the text of a page bold. all info here i have gotten from many opera fansites and the credit goes to the people who made those css files, but unfortunately whose names i cannot give. hope they'll forgive me ;). hence anything i say about css is not necessarily true, feel free to correct me.

for newbies - what is css? you have a webpage and you open it in a browser. it looks in a given way. if the webpage creator decided to, e.g. change all text on the page to, say, appear on the right of the pictures on that page instead of on the left, instead of rewriting the html code he can add a css file that'll tell the browser to take that initial page and transform its appearance as stated in the css file (in case you were wondering why everyone is going on and on about IE's poor css support - it tremendously helps managing webpages and changing their looks quickly). this is a very basic way of thinking aboutcss, i know, but it serves the purpose of adblocking

so here's how to do it: you know where your profile folder is already (if not, go to help >about in opera and look at the "opera directory" line - that's it. go there, and open the folder "styles". get the file i attach to this post (it's my user.css minus 2 paragraphs), and place it there.

this is an adblocking css that will attempt to hide ads and collapse them (without it, the filter.ini method or the windows hosts file method will leave a white space where the ad used to be). in a way, if you will, filter.ini stops the content from loading on the computer, and user.css hides the empty space left over - may be wrong, but is a good enough explanation for me.

now, go to opera prefs - page style and choose default mode - user mode. click "configure modes". author mode - tick 1,2,5 options and user mode - tick 1,2,3,5 options.

right-click any toolbar, customize and drag the button from section "browser view" to a toolbar of your choice so you can turn ads on/off quickly by clicking it.

best close opera now, open this post in FX and recheck that all files are as they should be (i.e. check if user.css is the one i posted here and rerun the opera ad filter).

if you with to disable flash content in pages, add this to the end of the user.css file:

embed[type=application/x-shockwave-flash] {content:"Flash"; outline: 1px dotted gray; color: gray; background: black}

embed[type=application/x-shockwave-flash].zichtbaar {content: normal; outline: none}

body:before {

position: absolute; visibility: hidden;

background-image: url("javascript:(function(){window.onclick=function(){var srcElem=window.event.srcElement;var tag=srcElem.tagName;if(tag=='EMBED') srcElem.className='zichtbaar'};})()");

content:""}

(i didn't put it in the user.css because it also makes flash sites unusable unless you click on the "flash" text in them)

and finally, my fave (also paste at end of user.css):

[alt=Get Firefox!], [alt=Get Firefox], [alt=Firefox], [alt=firefox],

[alt=FireFox], [alt=Mozilla Firefox], [alt=Mozilla FireFox], [alt=Spread Firefox],

[alt=Get FireFox], [alt=Get FireFox!], [title=Get Firefox!], [title=Get Firefox],

[title=Firefox], [title=firefox], [title=FireFox], [title=Mozilla Firefox],

[title=Mozilla FireFox], [title=Spread Firefox], [title=Get FireFox], [title=Get FireFox!],

[alt=Get Thunderbird!], [alt=Get Thunderbird]:before {

content:url(http://promote.opera.com/small/opera94x15.gif);

}

^this will replace all webpage buttons advertising FX with a small opera banner. sorry, FX guys, but enough is enough. besides your major goal is to have people move away from IE, not opera :p

hope i didn't put many mistakes in, and enjoy people.

THIS THREAD HAS NOTHING TO DO WITH FX, SO PLEASE NO TROLLING BY FANBOYS. If you use opera, i hope it's useful to you. if you'r ethinking of switching to opera, same. if you're a diehard FX fan, this thread is not for you and you shouldn't be posting crap here. i've seen enough threads in this forum to know what usually happens when fanboys take over - look at the opera vs fx thread - 40 pages of stuff repeated more than 20 times by the same people

user.css

I like the fact that that CSS is identically to my own custom edited CSS that I made myself built up from the original author's one excluding the last 10 lines... isn't that strange...

Anyway, To make it short:

http://snbx.net/php/viewtopic.php?t=4

Your flash blocker is nicer than mine though. That FF is just plain stupid Opera fanboy crap.

I like the fact that that CSS is identically to my own custom edited CSS that I made myself built up from the original author's one excluding the last 10 lines... isn't that strange...

Anyway, To make it short:

http://snbx.net/php/viewtopic.php?t=4

Your flash blocker is nicer than mine though. That FF is just plain stupid Opera fanboy crap.

585249909[/snapback]

it is most likely yours, but i got it such a long time ago that i couldn't remember where it was from. there's an author in the comments in the beginning, so i thought that'd be enough credit. i have used google results to find the separate pieces of the css, and opera forums for the anti-fx css. anyways, not taking credit for any but thought that it'd be nice to have smth put together.

to the "illegal" comment: maybe it is, but on the other hand no one is preventing you from wearing colored sunglasses when windowshopping, right? or, on a less farfetched note, change the channel or go take a leak during tv commercials. it's not exactly the same, but after all it is the way i look at the (internet) world and i feel i am entitled to change it the way i wish.

  • 1 month later...
  • 2 weeks later...

This is a very great thing, and I like it alot, however, the CSS has some problems:

Certein web forms(perhaps all of them) will NOT submit while in usermode(ad-blocking on), and sometimes even require refreshes.

Gmail has the problem, along with Memegens. Curious if this is on my end, or it's just general problem?

I haven't been paying attention to the forum lately, and probably won't in the future either, but I'm glad I've helped some people with the guide.

Now for the Gmail problem - I personally never had any problems with GMail and the method described here. So it may be a problem on your end... (keep in mind I compiled this mainly from other people's work and don't have the knowledge to edit it a lot, a CSS-knowledgeable person should reply here).

As for some images not showing, I have found that the automated filter.ini update contains certain addresses that prevent my browsing, e.g. i used to have problems with some photos on imdb.com because the image server was in the blacklist. An issue with gamespot.com game screenshots also arose at some point, and i found it to be because the screenshot thumbnails were of a size that is the same as certain banners and as such the css blocked them. The solution in either case, when you notice a blocked item that shouldn't be, is to check image properties of the item - check if address is wrongly in filter.ini, and also check if the picture size is listed in the adblock.css (if so, remove the line concerning that particular pic size). I know it's not as elegant or flexible as adblock, but it's definitely workable. Plus, always remember the user/author toggle button - you're 1 click away from non-css-modified pages.

And enjoy using Opera :) (or Firefox, or IE, or Safari, or Konqueror, or Kmeleon, or Lynx, or...)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Visual Studio finally gets long-awaited feature that developers will love by Usama Jawad Visual Studio Code is Microsoft's popular, lightweight, open-source code editor, it is actually Visual Studio that is the company's flagship integrated development environment (IDE). Although the IDE already offers a boatload of useful features for developers, Microsoft has finally introduced a long-requested capability that will be loved by many. While developers have already been able to create Git pull requests (PRs) directly within Visual Studio for the past couple of years, it had not been possible to review a PR without switching to the browser, until now. Microsoft revealed in December 2025 that it is working on UX that enables developers to do just that, and fast-forward to June 2026, and Visual Studio finally has native capabilities to open and inspect a PR, discuss feedback, and wrap up the review, all without switching to the browser. This integration works for both GitHub and Azure DevOps (including on-prem). Developers have access to multiple surfaces to open a PR, including Git Repository, Git Changes, and the Git menu in Visual Studio. Once you open a PR, all the important details will be immediately visible to you, from where you can navigate to various levels of granularity and branch states, depending on the reviews that you are engaged in. As you would expect, you also get a diff view that enables you to see code changes inline or side-by-side in a separate panel. You can also review commit-by-commit. Additionally, this UX fosters collaboration as you can leave comments, reply to threads, and resolve conversations easily. Naturally, you can also leverage Copilot to apply a code suggestion to fix a potential issue. When you are done, you have the ability to approve, complete, and merge the PR. This is a pretty major feature as it has been requested heavily for the past few years. You can try it out in Visual Studio 2026 version 18.7, made available here recently. Microsoft plans to enhance this experience further in future releases with comment filtering, a timeline of PR activity, and more.
    • This AdGuard Family lifetime deal is still only $15.97 by Steven Parker Today's highlighted Neowin Deal comes via our Apps + Software section, where you can get a lifetime subscription and save 90% on a lifetime AdGuard Family Plan. AdGuard is a unique program that has all the necessary features for what they claim to be "the best web experience." The software combines the an advanced ad blocker, a privacy protection module, and a parental control tool—all working in one app. This software deals with annoying ads, hides your data from a multitude of trackers, protects you from malware attacks, and even lets you restrict your kids from accessing inappropriate content. Install AdGuard and see the internet as it was supposed to be: clean and safe. Get rid of annoying banners, pop-ups & video ads once and for all Hide your data from the multitude of trackers & activity analyzers that swarm the web Avoid fraudulent and phishing website and malware attacks Protect your kids online by restricting them from accessing inappropriate & adult content Good to know Family Plan Length of access: lifetime This plan is only available to new users Redemption deadline: redeem your code within 30 days of purchase Max number of devices: 9 Access options: desktop & mobile Software version: AdGuard Family Updates included A lifetime subscription of AdGuard Family Plan normally costs $169.99, but this deal can be yours for just $15.97, that's a saving of $157.02. For full terms, specifications, and license info please click the link below. Get this AdGuard Family lifetime deal for just $15.97 (was $169.99) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. As an online publication, Neowin too relies on ads for operating costs and, if you use an ad blocker, we'd appreciate being whitelisted. In addition, we have an ad-free subscription for $28 a year, which is another way to show support! Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • the MCT currently downloads 26200.8653, so not completely up to date.
    • Around 68% of developers are now using AI to generate code during development, and some experts are saying that a single developer using AI tools can now do the work of an entire team of 4 to 5 engineers.  According to Figma's State of the Designer 2026 report, 72% of designers now use generative AI in their workflows and 91% say it improves the quality of their work, not just their speed.  But does this mean web developers and designers are becoming less relevant, or are they simply evolving into a different kind of role? Would love to hear from developers and designers here has AI made your job easier, or do you feel threatened by how fast these tools are improving
  • Recent Achievements

    • Week One Done
      Timaximus earned a badge
      Week One Done
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
    • Week One Done
      davidbazooked earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      PsYcHoKiLLa
      179
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!