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

    • The quantum search for Time's origin had an equally mind-boggling conclusion by Sayan Sen Image by Steve Johnson via Pexels A theoretical study from researchers at the University of Surrey suggested that the direction of time may not be fundamentally fixed in certain quantum systems. The work, published in Scientific Reports, examined how the “arrow of time” could emerge from microscopic physics and found that time-reversal symmetry can remain intact even in models used to describe processes such as energy loss and thermalisation. The arrow of time refers to the observed one-way direction from past to future in everyday life. In macroscopic processes, this is easy to see. Spilled milk spreads across a table and does not gather back into a glass, and heat flows from hotter objects to colder ones. These processes shape the common sense idea that time moves in a single direction. However, at the level of fundamental physics, many equations do not prefer a direction of time. Time-reversal symmetry means that the same physical laws can describe a system whether time moves forward or backward. This has made it difficult to explain why irreversible behaviour appears in the large-scale world even when the underlying rules do not require it. Dr Andrea Rocco, Associate Professor in Physics and Mathematical Biology at the University of Surrey, described this contrast: "One way to explain this is when you look at a process like spilt milk spreading across a table, it's clear that time is moving forward. But if you were to play that in reverse, like a movie, you'd immediately know something was wrong – it would be hard to believe milk could just gather back into a glass. However, there are processes, such as the motion of a pendulum, that look just as believable in reverse. The puzzle is that, at the most fundamental level, the laws of physics resemble the pendulum; they do not account for irreversible processes. Our findings suggest that while our common experience tells us that time only moves one way, we are just unaware that the opposite direction would have been equally possible." The study focused on open quantum systems, which are quantum systems that interact with a surrounding environment. This environment, often described as a heat bath, can exchange energy and information with the system. The researchers used this framework to study how a direction of time might appear even when the underlying physics does not enforce one. A key part of the analysis involved the Markov approximation. This is a simplification used in many models where the system is assumed not to retain memory of its past states. The idea is that changes depend only on the current state, not on earlier history. This is commonly used when studying thermalisation, which is the process where a system settles into equilibrium with its environment. The study also used concepts such as master equations, including the Lindblad and Pauli equations, which describe how probabilities of different quantum states change over time. Another related model discussed was quantum Brownian motion, which describes the random-like movement of a quantum particle interacting continuously with its environment. In these descriptions, a “memory kernel” can appear, which is a mathematical term that accounts for how past states influence current behaviour. The researchers found that applying the Markov approximation did not break time-reversal symmetry. Even when the system interacted with an effectively infinite heat bath, the resulting equations of motion remained symmetric in time. This meant that the same mathematical description could, in principle, run forward or backward in time without contradiction. The study further showed that standard frameworks used in open quantum systems, including quantum Brownian motion and master equations like the Lindblad and Pauli forms, could be written in a time-symmetric way. These equations are typically used to describe processes that look irreversible, such as dissipation and thermalisation, but the results suggested they can also be interpreted as allowing evolution in both time directions. Thomas Guff, Research Fellow in Quantum Thermodynamics, said: "The surprising part of this project was that even after making the standard simplifying assumption to our equations describing open quantum systems, the equations still behaved the same way whether the system was moving forwards or backwards in time. When we carefully worked through the maths, we found that this behaviour had to be the case because a key part of the equation, the "memory kernel," is symmetrical in time. We also found a small but important detail which is usually overlooked – a time discontinuous factor emerged that kept the time-symmetry property intact. It’s unusual to see such a mathematical mechanism in a physics equation because it's not continuous, and it was very surprising to see it appear so naturally." The researchers also noted that deriving a one-way arrow of time from time-reversal symmetric microscopic dynamics remains an open problem across fields such as thermodynamics, statistical mechanics, particle physics, and cosmology. Their results suggested that some standard descriptions of irreversible behaviour in open quantum systems may be better understood using a time-symmetric formulation of Markovianity. According to the study, processes such as thermalisation, which are usually treated as irreversible, could in theory be described in a way that allows evolution in either time direction under the same rules. This does not imply that time reversal occurs in everyday life, but rather that the underlying equations do not strictly enforce a single direction. Overall, the findings suggested that the perceived direction of time may emerge from how physical systems are modelled and approximated, rather than from a fundamental asymmetry in the laws themselves. The researchers noted that this perspective could have implications for ongoing work in quantum mechanics, thermodynamics, and cosmology on the origin of time’s arrow. Source: University of Surrey, Nature This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing
    • A bit premature... 100% Marketing. Bizarre.
    • A $300 price hike is insane! No one is going to want to pay that much!
    • Since the 1st one flopped, there is really no reason to make another one. It's just losing money left and right.
  • Recent Achievements

    • Reacting Well
      BizSAR earned a badge
      Reacting Well
    • First Post
      AndreaB earned a badge
      First Post
    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      581
    2. 2
      +Edouard
      182
    3. 3
      PsYcHoKiLLa
      75
    4. 4
      Michael Scrip
      73
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!