Changes

Jump to: navigation, search

Labs/SocialAPI

335 bytes added, 21:00, 15 March 2012
The "Recommend/Share" command
Alternatively (or additionally), the service provider can signal its ability to handle "Share" operations, which require more interaction with the user than a "Recommend". When a "Share" operation is initiated (perhaps by another button, or a click-and-hold on Recommend, a second click following the Recommend, or a context menu action), a small floating panel containing a frame rendering the service provider's "Share" URL is rendered above the current browser window. An event is dispatched to the frame indicating what object the user shared and the frame can update itself dynamically using JavaScript or AJAX techniques if it wishes. When the "Share" frame is done interacting with the user, it calls window.close to indicate that it is done, and the panel is closed by the browser.
 
Previous prototyping work in Mozilla Labs has included [http://f1.mozillamessaging.com/ Mozilla F1], which demonstrated how this function could work. The feature described here is compatible with, and builds on, the [https://addons.mozilla.org/en-US/firefox/addon/firefox-share-alpha/ Firefox Share] work that is ongoing in Firefox.
==== Notifications ====
348
edits

Navigation menu