Categories
Opera blog post Web development

SVG Background Replacement Script

UPDATE: I’ve managed to create a working version! See here.

I’ve written this excellent script that will replace specified background images with an SVG image, whenever support for this is detected. It will go through all CSS rules looking for “filename.svg.jpg” and replace it with “filename.svg”. This should be ideal for anyone who would prefer to use SVG backgrounds whenever possible.

There’s one problem: It doesn’t work in the one browser that supports SVG background images! :doh:

Since the script does work when detecting support for/replacing, say, PNG files, I can only assume this is an issue in Opera. I have thus reported this issue in the forums.

Hopefully this will be fixed before Opera 9.5 goes final, if not, it’s back to the drawing board to write a script that’s more forgiving!

Categories
Geeky Opera blog post

Browser selection in Windows Installer

As a result of Opera’s antitrust complaint against Microsoft, I started thinking about how Microsoft might allow a selection of web browsers for Windows.
Then, I made this mockup image:

Categories
Opera blog post Web development

DS Browser image sizes

Recently I’ve been playing around with the Nintendo DS web browser. One of my discoveries was that it automatically resizes any image beyond a certain width (768px), height (768px), or dimension (307200 sq. px).

To show the actual image sizes this allows, I’ve created this handy SVG file. Easy numbers to remember are displayed, though anything that does not extend the curved line at the bottom right will work too. Additionally, this page shows all numerical options.

How is this useful? Well, the resizing isn’t too big a deal for most photographs, but if you have larger images with text on them (comics for example), they will look pretty ugly and become hard if not impossible to read. So if you care at all about your DS browsing public, you can use this information to keep your images within these limits.

Categories
Geeky Opera blog post

Where are the decent Wii games?

I like to play games. Don’t play much, don’t own many consoles. I do own a Wii. The Wii seemed very cool and exciting at first, and certainly has some cool games for it. I do not regret buying a Wii.

However. What disappoints me is that there are so few decent Wii games, especially compared to the Xbox 360 and PS3. And yet it’s the best-selling console of this generation. Let me give you some statistics from Metacritic, a site that takes scores on games from a variety of review sites, and then mashes them together into a single number.