Tag Archives: Applications

Opera 10.5 Beta and Windows 7 Integration

Opera 10.5 Beta is out and it’s very impressive, and looks pretty stunning due to its Windows 7 integration.

One thing I don’t really like is how it shows all the tabs using Aero Peek when you click it in the Task Bar.

You can turn this off:

  1. Type “opera:config” in the address bar and hit Enter
  2. Scroll down to User Prefs and expand it, or type in “Windows 7″ in the search box
  3. Untick the “Use Windows 7 Taskbar Thumbnails” setting
  4. Click Save
  5. Restart Opera

Opera 10 Alpha

Opera 10 Alpha is out!

Apart from it being an updated and faster engine, it also adds 100% ACID3 support, HTML Email Composition (finally!), integrated spell checker, and automatic updates.

All this on top of the in-built features like mouse gestures, integrated ad blocker, the slick mail, news feed and chat client, Bit Torrent support, Wand password manager, desktop widgets etc.

Opera “Unlinker” User JavaScript

It’s quite common on many websites, particularly forums, to post links to images.

Unlinker is a very popular plugin for Firefox, which allows you to change the links to images in the page to in-line images.

Opera doesn’t have a fully-fledged plugin system like Firefox (which is a pro just as much as it is a con), but you can customize it using User JavaScript.

I’ve made a simple script to implement a very basic version of Unlinker. It will scan the page for links to images, and embed the image in the page under the link. It currently also scales the image down while maintaining aspect ratio if it exceeds 640×480.

To use this, create a directory on your machine to store your user javascripts, and save the source there as unlinker.js (or whatever name you like).

  • Now in Opera, go to the Tools > Preferences menu
  • Go to the Advanced tab
  • Click the Content section
  • Click the JavaScript Options… button
  • Browse to the User JavaScript files folder where you saved the file, then hit OK
  • Hit OK
  • You don’t have to restart Opera for the changes to take effect

The source code is:

      function (e)
          var isImageRegex = new RegExp(".gif|jpeg|jpg|png|bmp$", "i");

          var allAnchors = document.getElementsByTagName("a");

          for( var i = 0; i < allAnchors.length; i++ )
              var anchorElement = allAnchors[i];
              var link = anchorElement.href;
              if( link && isImageRegex.test(link) )
                  // The image tooltip will show the full image address
                  anchorElement.title = link;

                  // Create the image, giving it a border and some padding, resetting
                  // some styles and don't make it exceed 640x480 dimensions, auto-scaling it down
                  var image = document.createElement('IMG');
                  image.src = link;
                  image.style.border = 'solid 1px #ccc';
                  image.style.padding = '0px';
                  image.style.margin = '0px';
                  image.style.float = 'none';
                  image.style.maxWidth = '640px';
                  image.style.maxHeight = '480px';

                  anchorElement.appendChild( document.createElement('BR') );
                  anchorElement.appendChild( document.createElement('BR') );

Edit 2010-05-29: Updated for Opera 10.x

Opera’s MAMA analyses the spread and use of web technologies

The Opera guys have created a project called MAMA – “Metadata Analysis and Mining Application”. It is designed to trawl the web and analyse what technologies and techniques are actually being used in web pages.

Their intial study results are in, taken from 3 and a half million URLs.

Interestingly, tables are still right up there with most popular tags, suggesting there are still a lot of people using tables for layouts, particularly when you see this quote:

“Tables: TABLE, TR, and TD all used. Tables typically nested 3 levels deep.”

Font tags are also still very popular.

It’s hard to tell at this point if this is because those pages are old, or if new sites are still using this style of markup.

Some more findings:

  • A little over 4% of the pages passed W3C HTML validation
  • A third of the URLs used Flash. The lowest regional use of Flash is 25%, meaning at least 1 in 4 pages use Flash.
  • Nearly 3/4 of the URLs used javascript in one form or another

Main article: http://dev.opera.com/articles/view/mama/
Key Findings: http://dev.opera.com/articles/view/mama-key-findings/
The average web page: http://dev.opera.com/articles/view/mama-the-average-web-page/