FUEL/Additions: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 28: Line 28:
* makeDefault
* makeDefault
* switchEngine
* switchEngine
Find on page utilities
* find(/foo/, options) will highlight foo on the current web page without opening the find toolbar
* findNext
* findPrevious


== Extension ==
== Extension ==
<div style="background:#EEE;border:1px solid #CCC;color:#888;">
Finding information out about installed extensions
Finding information out about installed extensions
* getList
* getList
* getUUID
* getUUID
* getDescription
* getDescription
</div>
See: [[FUEL/0.1/API]] Extensions / Extension


== Request ==
== Request ==
Line 50: Line 58:
== RDF ==
== RDF ==
Depending on the future status of RDF in the tree, we could use Neil Deakin's [http://www.xulplanet.com/downloads/rdfds/ rdf.js] and a basis for an RDF object.
Depending on the future status of RDF in the tree, we could use Neil Deakin's [http://www.xulplanet.com/downloads/rdfds/ rdf.js] and a basis for an RDF object.
== Navigation Events ==
* Document navigation registry
::It seems to be fairly common for extensions to monitor browser navigation events and react to page loads, sometimes only reacting to specific domains or URL Patterns. FUEL could provide a central registry for these types of document navigation listeners to avoid duplication of code and unnecessary overhead. For more details see [[Talk:FUEL/Additions|discussion]].
== Clipboard ==
Clipboard utilities
* setTextData
* getTextData
* clear
== Drag-and-Drop ==
An easy-to-use wrapper around nsDragAndDrop.

Latest revision as of 15:34, 24 December 2007

Proposals for additional support in FUEL, of features not addressed yet up to version 0.2

Sidebar

Sidebar interaction.

  • load
  • toggle

PM (Password Manager)

Handling user logins.

  • saveLogin
  • removeLogin
  • getLoginPwd
  • getLogin

Alerts

Anything related to messaging the user.

  • Notify (top bar)
  • removeNotify
  • sysAlert (system alert)
  • ... various wrappers around nsIPrompt, including...
  • prompt
  • confirm
  • confirmWithCheck

Search

Search bar utilities

  • addEngine
  • makeDefault
  • switchEngine

Find on page utilities

  • find(/foo/, options) will highlight foo on the current web page without opening the find toolbar
  • findNext
  • findPrevious

Extension

Finding information out about installed extensions

  • getList
  • getUUID
  • getDescription

See: FUEL/0.1/API Extensions / Extension

Request

Wrapper around XMLHttpRequest

Cache

Interaction with the browser cache

Print

Printing utilities

Locale

l10n related

  • getLocale

RDF

Depending on the future status of RDF in the tree, we could use Neil Deakin's rdf.js and a basis for an RDF object.

Navigation Events

  • Document navigation registry
It seems to be fairly common for extensions to monitor browser navigation events and react to page loads, sometimes only reacting to specific domains or URL Patterns. FUEL could provide a central registry for these types of document navigation listeners to avoid duplication of code and unnecessary overhead. For more details see discussion.

Clipboard

Clipboard utilities

  • setTextData
  • getTextData
  • clear

Drag-and-Drop

An easy-to-use wrapper around nsDragAndDrop.