nsIShellService

Methods

switchTask()

This method displays a UI to switch to (or launch) a different task

createShortcut(aTitle, aURI, aIconData, aIntent)

This method creates a shortcut on a desktop or homescreen that opens in
the our application.

Parameters

aTitle the user-friendly name of the shortcut.
aURI the URI to open.
aIconData a base64-encoded data: URI representation of the shortcut's icon, as accepted by the favicon decoder.
aIntent obsolete and ignored, but remains for backward compatibility; pass an empty string