Channels ▼
RSS

Web Development

Opera 11.50 "Swordfish" Developer Extensions


Opera has released the 11.50 edition of its browser; code-named "Swordfish", the new product comes with some interesting developer-focused options. Back in 2007, Opera introduced its Speed Dial "favorite bookmark" functionality — in Opera 11.10 (released a couple of months ago), the company also added hooks for developers to control the way their site looks when rendered in a Speed Dial cell.

In Opera 11.50, the company says it's taking a step further with Speed Dial extensions: Developers can now render live content in a Speed Dial cell, allowing several thought-provoking use cases. Opera invites programmers to look at its extensions catalog and play around with some of the recently submitted Speed Dial extensions.

From 11.50 onward, extensions can now share cookies with the browser. This means that Opera extensions can interact with APIs and websites that would otherwise require extra authentication. This is done through an explicit <access> setting in the extension's config.xml, says the company.

"Our browser engine has now been bumped up to Presto 2.9.168, which means there are a number of new standards features, compatibility fixes, and performance tweaks — among other things, we've improved our CSS parsing performance by 10 to 15%," says Opera.

Also new is the classList API. Using classList, developers can add, remove, or toggle a class on an element, without the need for complex regular expressions or libraries.

Opera 11.50 now comes with support for HTML5 Session History & Navigation, which allows developers to control and manipulate the session history of a particular browsing context.

The company has also recently updated the mobile iteration of its browser with two product releases: Opera Mini 6.1 (for Android, Blackberry, J2ME, and Symbian) and Opera Mobile 11.1 (for Android and Symbian).

While Opera Mini 6.1 is primarily a security and stability release, Opera Mobile 11.1 has been updated to use the Opera Presto 2.8 rendering engine. This boosts the browser's capabilities with a whole host of new HTML5 and CSS 3 features — many of which only just made their official desktop debut in the Opera 11.50 release two days ago.

According to Opera, "The CSS Multi-column Layout Module specification allows designers to finally create complex, print-like multi-column layouts without having to abuse table markup. The HTML5 session history and navigation API allows for new ways to programmatically control and manipulate the browser's session history, save a web application's state, and handle user interactions (without breaking things like the back button)."

Finally, the W3C File API allows web applications to open, read, and manipulate data inside local files — all completely client-side. Opera Mobile 11.1, like Opera 11.50 for the desktop, currently has partial support for this API.

NB: This is not an exhaustive list of new features, this is simply meant to provide a newsworthy overview. Programmers can easily find out more from Opera's developer portal if they wish.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 
Dr. Dobb's TV