Today on this blog entry, the Mozilla Labs team introduced a new JetPack update that introduces three new features. Mozilla Jetpack is a Firefox API that allows developers and tech-savvy users to write Firefox add-ons using regular HTML, JavaScript, and CSS. Besides numerous bug fixes 0.2 includes three main additions: slidebars, jetpack.future, and persistent storage.What's New?
1. Slidebars - the upgrade old sidebar. Here is a sample code to add this website to slidebar.
jetpack.slideBar.append({
icon: "http://www.fryan0911.com/favicon.ico",
url: "http://www.fryan0911.com/",
width: 300
});
But according to mozilla this feature is still on experimental stage and may have a lot of bugs.
2. jetpack.future - is a collection of new features APIs that are still on experimental stage. For example, to be able to use Slidebars you must use the import facility as shown below.
jetpack.future.import("slideBar")
3. Persistent Storage and Clipboard Support - allows developers to persistently store data across restart.
jetpack.future.import("storage.simple");
var db = jetpack.storage.simple;
var data = {name: "Firefox", twitter: "@firefox"};
db.set( "friend", data );
To stay up-to-date on Technology news, subscribe now.
0 comments:
Post a Comment