Skip navigation.

exploreopera

| Help

Sign up | Help

Opera 'Jor'nal

Not here

I am not updating this blog.

Updates can be found at my Livejournal or my Twitter.

Change the default search engines in Opera

If you want to change the default search engine used for the addressbar/context menu search, and the Speed Dial search box, this can be done.

Open search.ini in a text editor and note the number of your wanted search engine. For example I want to use Google, which is number 1 in mine.

Go to opera:config, and filter for "search"

Set the value of "Search Type" to 1 to change the addressbar and contect menu search engine, and the value of "Speed Dial Search Type" to change the Speed Dial search box.

No need to restart: the change will take effect immediately.

No title

Long time no update.

Decided it was high time I share my ad block rules again: download

It is a combination of a list of known spyware and ad servers, and some ad rules I've been revising since Opera has had ad blocking...


Also got a slightly newer version of fastforward.ini up: download

No updates in a while

I have not been updating this page in a long while…

AdBlocker.css is all but retired as of Opera9: the content blocker is far more powerful.

In the near future expect updated links to my content blocker file ("urlfilter.ini") and revised fastforward.ini file.

AdBlocker.css updated

UserJS: webcomics

Two UserJS files which enable FastForward for webcomics:

next-sluggy.js: This script will enable FastForward for the Sluggy Freelance webcomic <http://www.sluggy.com/>.
next-userfriendly.js: This script will enable FastForward for the User Friendly webcomic <http://ars.userfriendly.org/>.

Get them both at http://members.chello.nl/b.kroonspecker/opera/userjs/

UserJS: next-to-link.js

I have rewritten my wired script (previous post) so it works on all sites. Get it at my site: http://members.chello.nl/b.kroonspecker/opera/userjs

Background: Fast forward doesn't seem to work whenever a hyperlink contains HTML immediately following the opening tag. Fastforward doesn't seem to be able to recognise the "next" keywords from fastforward.ini on those sites, I guess it only looks at the immediate containing tag. This script checks all links for the word next, and if it finds it it writes a <link> tag with rel="next" for them. This causes FF to work as it should.

If you have already downloaded it, remove fix-wired.js: this script does the same work. I will not be updating fix-wired.js.

//Update: link changed. See next post for two more userJS files.

UserJS: Fix-wired.js + updates for AdBlocker.css and filter.ini

AdBlocker.css and filter.ini have been updated. Filter.ini has been re-synchronized with the list at <http://pgl.yoyo.org/adservers/>, AdBlocker.css has seen a few small additions. The "orange menace" (Firefox spam) is no longer being blocked: it's a bit hypocritical to selectively block FF spam only. To justify it for myself I'd have to also block Opera's ads....
If you want to get rid of the orange menace, use the Moose's Persistent User Stylesheet: <http://www.literarymoose.info/style/persistent/>.

----

I have written another userJS file, fix-wired.js. Like my previous script, this one enhances/fixes Opera's Fast Forward capabilities.
Fix-wired.js scans for "next" links on Wired magazine (http://www.wired.com/), and then removes the inline span from the links. This re-enables Opera's Fast Forward there.

//Update: Thanks to jebediah (http://my.opera.com/jebediah/profile) I have managed to rewrite it so the change is now immediate. Rather than modifying the actual link, the 'next' link is copied to a next <link> tag.

Get it together with filter.ini and AdBlocker.css at http://members.chello.nl/b.kroonspecker/opera/

UserJS: AddNext.js

I just completed my first userJS file: add-next.js

Get it at my Opera files site, at <http://userjs.org/>, or directly: <http://members.chello.nl/b.kroonspecker/opera/userjs/add-next.js>

What this script does, is check if a linked image without an alt attribute has a filename containing "next", and if this is the case, add alt="next" to the image. This then allows FastForward to use the image link as a "next" link.

I wrote it mainly because I read a lot of webcomics, and several of them are otherwise not FF-compatible. Examples are 'Schlock Mercenary' (http://www.schlockmercenary.com/) and 'Real Life (http://www.reallifecomics.com/): both of these, and several others, now work.

There is a little oddity to the script, in that FF will not immediately work: it can take a little while (1 or 2 seconds in my testing) before FF becomes enabled. I don't know how to fix that. You can usually force it to work by pressing back, then next. (z x if you use the keyboard.)

Hope you like it!

I recommend also enabling 'Always Load User JavaScript=1' in the '[User Prefs]' section of Opera6.ini, as otherwise it will not always work.

If you're new to userJS, read <http://userjs.org/help/installation> before downloading please.

AdBlocker.css update

Another quick update for AdBlocker.css, with more rules to catch ads on certain dutch and German sites, including heise.de

<http://members.chello.nl/b.kroonspecker/opera/styles/user/AdBlocker.css>

Feedback welcomed!

Just a note: I welcome feedback about my ad blocking CSS file and filter.ini.

Since this is my primary method for ad blocking on a daily notice I will attempt to block all ads I come across, but the websites I visit are probably not the same ones you visit daily. Therefore if you see intrusive ads on a website please drop a note either at this journal or at my e-mail address, so I have a chance of trying to fix it.

Updates: Adblocker, filter.ini, fastforward.ini

The ad blocking files, Adblocker.css and filter.ini have been updated.

I have also uploaded a new revision for fastforward.ini, I noticed I had left a quite old version up.

No major revisions this time around, as I am experimenting with user JS in combination with AdBlocker.css: if it works out I'll completely revise AdBlocker.css in the future.

Minor revisions are the addition of "valid html", "get firefox", "any browser" etc. spam buttons/images, inspired by Moose.

Doesn't appear to harm anything with content so I think I'll keep it in. I'm going to try and find more of these useless buttons, such as "edited with notepad".

AdBlocker update

Another quick update: I removed two parser errors. The file validates and works now.

AdBlocker.css update

I've just uploaded an update for AdBlocker.css.

The update removes the statement:
td[valign="top"] a[target="_top"] img[border="0"]
This matched too many valid images, for example at gateworld.net

I've also simplified some selectors so the file is smaller in size now, but still matches as much. A few minor tweaks to existing selectors were also added.

As usual, get it at <http://members.chello.nl/b.kroonspecker/opera/styles/user/AdBlocker.css>

Normal browsing

This is how I normally use Opera:

Two toolbars always open:
*pagebar set to always visible, with 'new' button (renamed to just new), and the trashcan
*addressbar, with the following buttons from ltr:
rewind, back, reload/stop, forward, fast forward, address field, go button, view button
rewind, back, forward, ff have hidden dropdowns for their menus. Reload has the reload menu as a hidden dropdown, go has the go menu as a hidden dropdown.

Both are on the bottom of the viewport.

Three sometimes visible toolbars:
*view bar, containing the default fields
*start bar, with the search fields removed
*navigation bar, set to show when needed

View bar is on the bottom (shows just above the addressbar), navbar on the top.

Hotlist is to the right, panel selector to the ultimate right. By default it is closed, with the panel toggle always visible.


I have GIF animation disabled by default, as well as sound in web pages (except when testing voice).
Java and plug-ins are usually left enabled. Alas Javascript must these days always be enabled, but I toggle it off sometimes. I don't block cookies or referers.
Opera IDs as itself, always.

Besides my main user CSS file, I have three user stylesheets always active:
*Mark links with targets: this one changes the mouse cursor for links with a target. Gives away if they open in a new window, or are Javascript links.
*Improve quotes display: gives me nicer and language correct quotes (so «» for French etc.)
*AdBlocker.css

Others are toggled whenever I need them or want to use them. I browse in author mode by default.

Unwanted pop-ups are sent to the trashcan.

AdBlocker.css update

A MAJOR update for AdBlocker.css: I had a big syntax error in the file which disabled the entire Names and Alt strings parts of §4. Now fixed.

Google changed their 'sponsored links' ads style, so I had to change that string. No other major additions.

<http://members.chello.nl/b.kroonspecker/opera/styles/user/AdBlocker.css>

Filter.ini has also been updated, some small tweaks.

<http://members.chello.nl/b.kroonspecker/opera/filter.ini>

AdBlocker.css updated

I've uploaded an update for AdBlocker.css. It is about half the size of the previous one because I took out all declarations which never worked anyway, but I actually added some rules: since CSS can be case sensitive all items which checked for name now check for various capitalized spellings as well. Catches quite a few more ads.

Starting now I'll also include a 'revision' statement in the file, as well as a note on its length.

Get it at <http://members.chello.nl/b.kroonspecker/opera/styles/user/AdBlocker.css>

Gmail: get out of basic mode

Now that we have a workaround for gmail's braindead mode (http://my.opera.com/quiris/journal/56/), this can be used to more quickly bypass their check, and remove the annoying 'unsupported browser' message at the same time.

Add to your user CSS file:

/* Fix gmail */
td[id="bm"][bgcolor="#FAE5B0"] {
content: "Limited mode. Select http://gmail.google.com/gmail?nocheckbrowser and use Go to URL."
}

This replaces the 'unsupported browser' bit with a plaintext URL for the workaround URL. Just right-click it and use 'Go to URL', then switch to another page and back to get the full gmail interface back.

----

Thanks to Arve (<http://virtuelvis.com/>) for pointing out an even better idea:

/* Fix gmail */
td[id="bm"][bgcolor="#FAE5B0"] {
background: url('javascript:window.location="http://gmail.google.com/gmail?nocheckbrowser"');
}

Using this method the window will either automatically forward itself to the full interface, or do so after a refresh.


Of course you can combine the two:

/* Fix gmail */
td[id="bm"][bgcolor="#FAE5B0"] {
background: url('javascript:window.location="http://gmail.google.com/gmail?nocheckbrowser"');
content: "Limited mode. Select http://gmail.google.com/gmail?nocheckbrowser and use Go to URL."
}

That way you can use either method.

AdBlocker.css and filter.ini updated

I have updated AdBlocker.css and filter.ini finally.

Get them at http://members.chello.nl/b.kroonspecker/opera/


Setups are gone, as I actually use a close-to-default setup. Once Opera 8 is out I will re-do the mouse setup at least, and possibly also the keyboard setup.

For now get the old versions from my.opera.com if you want them.

user.css

My persistent user stylesheet (always active). Mostly small changes, but some more advanced tricks.

----

/*
Name: User style sheet for Opera.
Version: n/a
Author: Jordi Kroon <darkelf at operamail dot c o m>
Description: Various improvements and changes.
*/

/* Default link styles: */
/*:link {
font-weight : bold;
text-decoration : inherit;
}
:link:hover, :visited:hover {
text-decoration : underline overline;
}
:visited {
font-weight : bold;
text-decoration : line-through !important;
}*/
/* Image link effect */
:link:hover img {
outline: 1px solid blue;
}
:visited:hover img {
outline: 1px solid purple;
}

/* Overrides for the default browser stylesheet */

/* Fix too-small fonts */
font, small, small * {
font-size : 9px !important;
font-family : Verdana, sans-serif !important;
}
font {
font-size : 10px !important;
font-family : Verdana, sans-serif !important;
}

/* Image alignment fix */
img {
float : right;
}

/* Intelligently wrap white text in pre blocks */
pre {
white-space: pre-wrap;
}

/* Improve plaintext display */
body>pre:first-child {
font-family: monospace;
font-size: 1em;
line-height: 100%;
white-space: pre-wrap;
}

/* Print rules, also enabled for OperaShow */
@media projection {
/* h1+*, h2+*, h3+*, h4+*, h5+*, h6+* {
page-break-before: avoid;
}*/

ul, ol, li {
page-break-before : avoid;
page-break-inside : avoid;
}

pre, code {
page-break-inside : avoid;
}

table table {
page-break-before : avoid;
page-break-after : avoid;
}
}

/* Special print rules */
@media print {
/* h1+*, h2+*, h3+*, h4+*, h5+*, h6+* {
page-break-before: avoid;
}*/

abbr[title]:before, acronym[title]:before {
content : attr(title) " (";
}

abbr[title]:after, acronym[title]:after {
content : ") ";
}
}

/* Site specific fixes */
/* currently none */
July 2008
MTWTFSS
June 2008August 2008
123456
78910111213
14151617181920
21222324252627
28293031