firefox 4 & add-ons · lock up the browser, they are now isolated to only the page that...

51
Firefox 4 & Add-ons Development Track: Add-on-Con 2010

Upload: others

Post on 11-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Firefox 4 & Add-onsDevelopment Track: Add-on-Con 2010

Page 2: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

We are:

Justin ScottAdd-ons Product Manager

Dave TownsendFirefox Developer

Jennifer BorissFirefox User Experience Designer

Page 3: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

What's new in Firefox 4?

Page 4: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Features:

Tabs on TopApp TabsPanoramaFirefox SyncNotificationsNew Add-ons Manager

Page 5: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Tabs on Top

Page 6: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Tabs on Top

Moving Firefox's tabs to the top of windows gives many user experience benefits.

One is that it improves users' conceptual model of the browser.

Page 7: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Tabs on Bottom

FirefoxKey

Tab

Page 8: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Tabs on Top

FirefoxKey

Tab

Page 9: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

App Tabs

Page 10: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

App Tabs

Allows users to "pin" a tab to the left of the Firefox window, which keeps it open and visible.

Page 11: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

App Tabs

This allows users to always have access to the tabs that hold online applications, such as:

• email • calendar• messaging • music

Page 12: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

App Tabs

• email • calendar• messaging • music

Page 13: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Panorama (formerly "Tab Candy")

Page 14: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Panorama

Lets you navigate your tabs visually, dragging and dropping tabs into manageable groups that you can organize, name and arrange in a fun and visual way

Page 15: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Panorama

Page 16: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Panorama

Page 17: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Firefox Sync

Page 18: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Firefox Sync

Gives access to history, passwords, bookmarks, and open tabs across of a user's devices

Unifies Firefox experience across multiple computers, phones, tablet computers

Page 19: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Firefox Sync

Page 20: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notifications

Page 21: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notifications

There are two new kinds of notifications in Firefox 4.0:

Page 22: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notifications

1. Arrow Panel Notifications

These are lightweight messages that originate from pages - mainly to ask for permissions such as password saving

Page 23: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notifications

1. Arrow Panel Notifications

Page 24: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notifications

2. Tab Modal Dialogs

Rather than allow a page's dialogs to lock up the browser, they are now isolated to only the page that prompted them

Page 25: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notifications

2. Tab Modal Dialogs

Page 26: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

Page 27: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

Firefox 4.0's add-ons manager is undergoing a total redesign

Page 28: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

Page 29: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

Page 30: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

1. Add-ons Update Automatically

Page 31: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

2. Make changes to add-ons without restarting

Page 32: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

3. Add-on manager in a tab, not a window

Page 33: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New Add-ons Manager

4. Quickly find any add-on

Page 34: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Under the Hood of the Add-ons Manager

Page 35: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Rewritten add-ons manager

Faster startupBetter scope for future improvements No more dependencies

Page 36: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

XPIs remain unextracted

Smaller footprintBetter performanceShould be turned off in some cases:

Binary components/librariesSearch pluginsDictionariesAnywhere where an add-on access its files

Page 37: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Simpler XPCOM registration

Less boilerplateOnly execute JavaScript when necessaryAPIs and imports work immediately

Page 38: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Better API for accessing add-ons

Pure JavaScript API rather than XPCOMAccess any data that is visible in the UIAsynchronous access

Page 39: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New ways to develop

Restartless extensionsAdd-ons SDK

Page 40: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Restartless extensions

Low level No overlays or chrome namespaces Can still add to windows through the DOMCan manually register JS XPCOM componentsNo binary XPCOM componentsAccess to binary libraries through ctypesSingle entry pointImprovements coming after Firefox 4

Page 41: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Remotely updating metadata

Add-ons can opt-out Downloaded daily

DescriptionsIcons ReviewsRatings

Contribution support baked into the browser

Page 42: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Contribution support

Page 43: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Embedding your own items

Page 44: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Other improvements

Changing add-on IDLarger iconsAutomatic updates

Page 45: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Add-on Discovery

opened 17M times daily · 1.7M searches 303,000 downloads (21%)

Page 46: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

100,000 views a day · 7,000 downloads

Page 47: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Future Plans

Page 48: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Notification about new add-ons

Page 49: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

New appearance UI

Page 50: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Embedded preferences

Page 51: Firefox 4 & Add-ons · lock up the browser, they are now isolated to only the page that prompted them. Notifications 2. Tab Modal Dialogs. New Add-ons Manager. New Add-ons Manager

Questions?