Introduction to Opera Extensions
We've also spent a long time looking at how to make a more powerful secure extension framework. We want to be certain our framework doesn't impact the browser's performance, and allows for the long tail of user requirements and developer needs. New in Opera 11 alpha, we've added our own extensions. Opera extensions are packages that add extra functionality to Opera Desktop. Examples include Mapsearch, which allows you to select any address and plot it straight onto a Google Map, and Slashdotty, which allows anyone to show and hide blocks in the Slashdot UI, not just registered members.
Making the browser even more useful!
<p>Extensions are invaluable for creating features not already present in the browser, adding to both the user and developer ability to extend functionality within the Opera browser. So, you could add a button to the browser UI that allows you to add posts to your blog or favourite social networking site, add a custom dialog window to the browser to pull up further information relating to what's being displayed in the browser, add an e-mail checker icon to the UI that shows the number of unread emails, or anything else that you want to add to make your browser more useful!</p> <p>In terms of similarity to other browsers' extension implementations, Opera has the advantage of being able to learn from other vendors' successes and challenges, as well as leveraging some of the browser add-on technology we have had in place for ages, such as Widgets and User JS, with which our extensions share many similarities.</p>
Trying out Opera extensions
<p>Opera extensions are zip files with an extension of <code>.oex</code>. You install one by dropping it into the browser window or clicking on a link pointing to it. You are then asked to confirm installation, after which you can see the extension installed at Tools > extensions > Manage extensions. You can download and install a wealth of Opera extensions from the <a href="http://addons.labs.opera.com">Labs Addons page</a>.</p>
To run Opera extensions, you'll need an Opera 11 labs build that supports them:
<ul> <li><a href="http://www.opera.com/download/get.pl?id=33277&location=270&thanks=true&sub=true">Opera 11 extensions build for Windows</a></li> <li><a href="http://www.opera.com/download/get.pl?id=33278&location=270&thanks=true&sub=true">Opera 11 extensions build for Mac</a></li> <li><a href="http://snapshot.opera.com/unix/alpha1-with-extensions_11.00-1029/">Opera 11 extensions build for Linux</a></li> </ul> <p class="note">Note that the current release is an <strong>experimental labs build</strong>, therefore the implementation, architecture and design may change before the final release. If you create a complex extension, it may require updates as our APIs mature.</p>
Where to go next
Saying hello world to Opera extensions!: A very simple tutorial to get you started with building Opera extensions.
What's in an Opera extension?: Learn more about how Opera extensions work, what files they contain, what the different parts of the architecture do, and what types of extension you can expect to build.
Hands-on tutorial: building an Opera extension: A more in-depth extensions tutorial.
Converting UserJS to Opera extensions: Learn how to convert Opera UserJS files into Opera extensions.
Opera extensions: tabs: This article takes you through using the Opera extensions API tabs object to allow extensions to manipulate tabs in the Opera desktop browser.
Opera extensions: windows: This article shows you how to manipulate windows in the Opera desktop browser via the Opera extensions Windows object.
Opera extensions: buttons, badges and popups: This article takes you through the ins and outs of implementing buttons, badges and popups for Opera extensions.
Opera extension APIs: References for the specialist APIs that allow you to hook into the browser to extend functionality