Skip to content

navigator share api

mixedpuppy edited this page Nov 3, 2010 · 3 revisions

Navigator Share API

The F1 Share extension adds a share api to the navigator object, making simple sharing available to any website. This feature can help websites to add share buttons to specific items within a page, such as having a share link for each blog entry within a blog.

When the share function is called, the F1 share panel will open allowing the user to select how they want to share the link.

This API is experimental and provided to gather feedback from website authors around potential social api's built into the web browser.



The options argument is an object that can contain the following values:

  • title: a title for the shared link, defaults to the page title
  • url: a url to share, defaults to the page url
  • thumbnail: a publicly accessible thumbnail image, default is a thumbnail of the page

Example usage

  navigator.mozilla.labs.share({'title':'this is a test!',
        'url': '',
You can’t perform that action at this time.