WebAPI/BrowserAPI: Difference between revisions

no edit summary
No edit summary
Line 127: Line 127:


: Generates a thumbnail of the content currently displayed in the browser element. The thumbnail should be returned to the callback as a binary blob, in addition to the URL it corresponds to. This could be used by a browser app to save visual bookmark or history information or as visual information to help in switching between tabs.
: Generates a thumbnail of the content currently displayed in the browser element. The thumbnail should be returned to the callback as a binary blob, in addition to the URL it corresponds to. This could be used by a browser app to save visual bookmark or history information or as visual information to help in switching between tabs.
'''getFavicon(callback)'''
: Gets the favicon associated with the content currently loaded inside the browser element. The favicon should be returned to the callback as a binary blob (or alternatively just a URL pointing to the file) in addition to the URL of the page it corresponds to. This could be used by a browser app to save icons for use in history, boomkarks or tab switching. We may not need this feature if we have an iconchange event.


== Events ==
== Events ==
Confirmed users
394

edits