Opera Mini on iPhone

To my amazement Apple approved the Opera Mini web browser into it’s App Store. It’s a free download and in my opinion still not worth it, the built in Safari browser is better at the main task of browsing the web.

While Opera say their browser is faster, which it is, they do this by loading web pages via their Norway based servers and compressing images before passing the page along to you. This has two problems, they over compress the images and any content that is region specific you’ll get the Norway version.

There are some bugs in the application that I’m sure will be ironed out in the next release, like pages loaded in portrait don’t resize when switching to landscape.

The guys at Opera have done a good job with the user interface bringing tabbed browsing to the forefront (something Safari has, but very few realise) and full screen mode, although burred in the settings is very nice when browsing full desktops sites.

The browser seems very stable even on those site that cash Safari Opera handles them without a quiver.

Apart from that bug, the way pages are loaded and the over compression on images Opera have a good browser here but I’m staying with the built in Safari or until Skyfire bring their browser to the app store.

Shortcut.js Add keyboard shortcuts to your site

This script has been updated. For the latest info please see this new page.


shortcut.js is a JavaScript file that enables keyboard shortcuts in any web application. I wrote the script to add keyboard shortcuts to a very early stage project I’m working on which I’m not ready to disclose at the moment.

How to Use

Once you’ve downloaded and extracted shortcut.zip (download) you can follow the guide below.

The zip archive includes both a standard JavaScript file (shortcut.js) and a PHP file (shortcut.js.php) that will enable GZip. Only use the PHP file if your server supports GZip, it does not check.

Install/Setup

To use the script simply link to the file in the head section of the page you want shortcuts on with

<script src="shortcut.js" type="text/javascript"></script>

If you use shortcut.js.php (included in the shortcut.zip download), with GZip compression enabled you will need to edit the link above accordingly.

Add Shortcuts

Then add the following code for each shortcut in between <script> </script> tags:

shortcut.add("Ctrl+B",function() {
   alert("The bookmarks of your browser will show up after this alert...");
},{
   'type':'keypress',
   'propagate':true,
   'target':document
});

Replace “Ctrl+B with the keys you want the shortcut to be assigned to.

Where “alert(…” appears is the JavaScript to run on key press you should replace this with your code, you can call functions in this area.

Valid Keys

Modifier

The valid modifiers are

  • Ctrl
  • Alt
  • Shift
  • Meta

Other keys

All alpha/numeric keys are supported as are most special characters on the standard keyboard.

Special Keys

The following special keys are also supported:

  • Tab
  • Space
  • Return
  • Enter
  • Backspace
  • Scroll_lock
  • Caps_lock
  • Num_lock
  • Pause
  • Insert
  • Home
  • Delete
  • End
  • Page_up
  • Page_down
  • Left
  • Up
  • Right
  • Down
  • F1
  • F2
  • F3
  • F4
  • F5
  • F6
  • F7
  • F8
  • F9
  • F10
  • F11
  • F12

(these are not case sensitive)

Advance Use

This is more of an explanation of what things do.

In this example pressing Ctrl+B will display a message and then allow the browser to run any shortcuts it has on them keys

shortcut.add("Ctrl+B",function() {
   alert("The bookmarks of your browser will show up after this alert...");
},{
   'type':'keypress',
   'propagate':true,
   'target':document
});

type: when to run the shortcut, keypress/keydown/keyup etc.
propagate: set to true will run the sites script and then pass the key combo to the browser to run anything it might have set up to do.
target: where the action will take place, same as target in links.

Updates

Not that I’m planing major updates to this script but if somethings breaks or I find a better way to do something check this page for updates.

Google Port Quake 2 to HTML 5

Using their web toolkit Google ported Quake 2′s java port Jake 2 into HTML 5 and Javascript to run in the latest versions Safari and Chrome.

Their aim was to see how far they could push the upcoming HTML 5 standard and with the game running at over 30 frames per second I’m impressed.

The port uses the very latest versions of the HTML 5 specification like the main graphics are powered by WebGL which is currently only available in the bleeding edge developer versions of Chrome and Safari.

Of course the guys over at Google have made their work open source.

I haven’t had a chance to play with it yet but it’s high on my list of things to do this weekend.

Futuristic Entertainment

Futuristic Entertainment are a small record label with a few artists who approached me via a friend to create a WordPress powered site for them to support a store as well as corporate and artist pages.

When I started the project the logo wasn’t available and was later designed and added by a third party after the development had finished.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30  Scroll to top