Site-specific preferences in Opera 9

More details on this is coming, but here's something to get you started.

How it works

All site-specific overrides are stored in opera6.ini. If you want to add overrides for a specific site, add the domain name in the "[Overrides]" section. Then, add a new section with the domain name, e.g. "[]". Each item in that section will override the Opera default for that domain. Items have two parts: the INI section where the setting is stored and the setting name separated by a vertical bar, e.g. "Extensions|Scripting=0". The following settings will disable scripting at



Overrides can be disabled by setting the domain name to 0, e.g. "" in the "[Overrides]" section. Override matching is done on sub-domain basis, so the server will be matched by an override for, but not vice versa. If overrides are defined both for the exact match and for the general domain, the longest match will always take precedence.

Available site-specific preferences

Here are some of the available site-specific preferences.

User Prefs|Ignore Unrequested Popups
User Prefs|Target Destination
User Prefs|User JavaScript
User Prefs|User JavaScript File
User Prefs|Allow Script To Hide URL
User Prefs|Enable Referrer

Multimedia|Always Load Favicon


User Display Mode|Author CSS
User Display Mode|User CSS
Author Display Mode|Author CSS
Author Display Mode|User CSS

User Agent|Spoof UserAgent ID



13 thoughts on “Site-specific preferences in Opera 9

  1. Why aren't most ini settings supported per-site? What's wrong with, for example, having "Show images" enabled for sites on the intranet and disabled for all others? That's the feature I've always been dreaming of.

  2. 2scipio, elcid73: with "Ignore Unrequested Popups" the problem is not with double negation. The problem is with the word "ignore".In what sense do you ignore unrequested popups?Do you mean, "The page is showing a popup window – ok, ignore this, just let it do" or "The page is asking browser to show a popup window – ignore this request". I really don't know.In the UI it's called "Block unwanted popups" which doesn't have this problem. Also it doesn't have the feel of double negation.

  3. feldgendler: have you tried changing "show images"? the blog only says "some of the available site-specific preferences". I haven't so I don't know…

  4. An user friendly interface for this would be really welcome (somethink like right-click on the page -> per site settings -> disable javascript / …. )

  5. Good to see Opera is coming along with features that most Amiga browsers had in the early nighties ;)At least the other "modern" browsers won't catch up ten years down the road 😉

  6. I want to allow popups just on Wikipedia – how do I do it? The info on editing the .ini file seems confusing and incomplete. This information also needs to be added to – or if someone answers me here, I can add it to the wikipedia page. Another problem is that sometimes the javascript in the Wikipedia popups feature just creates a tiny box, the size of one letter, when hovering over a wikilink. The feature works better in Internet Explorer. 😦 Does that mean it's a Opera bug? (The feature is described at – the feature added by a registered Wikipedian editing their .js file)Apart from this, Opera 9 is mostly wonderful – good job. Singkong(using Opera 9.00 Beta on Windows XP)

  7. Why Fit-to-Width (Rendering mode) is not allowed in override? Its allowed to override in Session files, and often required for sites designed for a particular screen size.

Comments are closed.