Jetpack 0.8 Released, now what’s next?

The final release of the Jetpack prototype (0.8) has landed! Jetpack is a Mozilla Labs project which makes it possible for anyone who knows standard web skills (HTML, Javascript, CSS) to make Firefox add-ons.

New APIs in Jetpack 0.8


You can now include simple toolbar buttons in the Firefox UI! The Toolbar API makes it easy to tie browser functionality to these buttons, have a look:

var myButton = {
  id: "fooButton",
  label: "FOO!",
  tooltip: "Click on my to do something.",
  image: "",
  click: function(event) { console.log("FOO! has been clicked") }

// Append the button to the toolbar

For further info on this API, see JEP 21.


The other significant API available in this release is Places. Places is the name for history and bookmarking methods contained in Firefox. You can access Places functionality in the following ways:

function titleParse(doc) {
  let title = doc.title.split();
  for (let idx in title) {
    if (title[idx] === 'foo'){
      jetpack.places.bookmark.create({url: document.location, title: document.title, tags:['foo', 'jetpack-auto-tag']});

  // lets alert the user - tell them how many bookmarks we have with 'foo':
  function callback(results) {
    alert("You have " + results.count + " bookmarks where the title contains 'foo'! Very Nice!");

  jetpack.places.find({where: 'bookmarks', phrase: 'foo'}, callback);

jetpack.tabs.onReady( titleParse );

For further info on this API, see JEP 22.

Jetpack, the next phase…

With the release of Jetpack 0.8, the prototyping of Jetpack has come to a close and our efforts are shifting toward the goal of developing a mature, production-level version of the platform. This production version of Jetpack will phase in a new security model and a more extensible architecture with code reuse and true Mozilla-style code collaboration as core tenets. Look for a technology preview in the coming weeks! To view more detailed information on this next phase of Jetpack development, please visit the Jetpack wiki section found here.

– Daniel Buchner, on behalf of the Jetpack team

1 response

  1. Joe Brockmeier wrote on :


    The link to the Places API is actually a link to the Toolbar API (21 instead of 22). Might want to fix that when you have a chance. Thanks for the post!