Firefox 2 for developers

  • Revision slug: Firefox_2_for_developers
  • Revision title: Firefox 2 for developers
  • Revision id: 187008
  • Created:
  • Creator: Federico
  • Is current revision? No
  • Comment added language: IT

Revision Content

New developer features in Firefox 2

Firefox 2 introduces a vast array of new features and capabilities. This article provides links to articles covering the new features.

For web site and application developers

Microsummaries
Microsummaries are regularly-updated succinct compilations of the most important information on web pages. Site and third-party developers can both provide them, and users can choose to display microsummaries instead of static titles when they bookmark pages with microsummaries.
Creating a Microsummary
A tutorial on creating a microsummary generator.
Creating MozSearch plugins
Firefox 2 supports MozSearch, a search plugin format based on OpenSearch.
Supporting search suggestions in search plugins
How to make your MozSearch plugin support search suggestions, which appear in a popup box while typing in the search bar.
New in JavaScript 1.7
Firefox 2 supports JavaScript 1.7, which includes new features including let, destructuring assignment, generators and iterators, and array comprehensions.
WHATWG Client-side session and persistent storage

XXX maybe find some more attractive description

Client-side session and persistent storage allows web applications to store structured data on the client side.
SVG in Firefox
Firefox 2 improves Scalable Vector Graphics (SVG) support, implementing the <textPath> element and adding support for some attributes not previously supported.

For XUL and extension developers

Session restore API
Contributing items to be saved and restored across sessions in Firefox.
Feed content access API
This API is still being revised; documentation is forthcoming once it's settled down.
SAX support
Event-based XML parser API.
Adding search engines from web pages
JavaScript code can instruct Firefox to install a new search engine plugin, which can be written using either OpenSearch or Sherlock format.
Adding phishing protection data providers
It's possible to enhance Firefox's phishing protection by adding additional data providers for the safe browsing system.
Storage
Firefox 2 introduces mozStorage, an sqlite based database architecture.
Best practices for extension versioning
How to use version numbers to deal with all the different prerelease versions of Firefox 2.

New features for end users

User experience

  • Inline spell checking for text areas lets you compose with confidence in web forms.
  • Microsummaries provide a way to create bookmarks that display information pulled from the site they refer to, updated automatically. Great for stock tickers, auction monitoring, and so forth.
  • Extension Manager user interface has been enhanced.
  • Search engine manager lets you rearrange and remove search engines shown in the search bar.
  • Tabbed browsing enhancements include adding close buttons to each tab, adjustments to how Firefox decides which tab to bring you to when you close the current tab, and simplified preferences for tabs.
  • Autodetection of search engines allows search engines that offer plugins for the Firefox search bar to offer to install their plugins for you.
  • Search suggestions allow search engines to offer suggested search terms based on what you've typed so far in the search bar.

Security and privacy

  • Anti-phishing feature to warn users when the web site you're looking at appears to be a forgery.
{{ wiki.languages( { "fr": "fr/Firefox_2_pour_les_d\u00e9veloppeurs", "it": "it/Firefox_2_per_Sviluppatori", "ja": "ja/Firefox_2_for_developers", "pt": "pt/Firefox_2_para_desenvolvedores" } ) }}

Revision Source

<h2 name="New_developer_features_in_Firefox_2">New developer features in Firefox 2</h2>
<p>Firefox 2 introduces a vast array of new features and capabilities.  This article provides links to articles covering the new features.
</p>
<h3 name="For_web_site_and_application_developers">For web site and application developers</h3>
<dl><dt> <a class="external" href="http://wiki.mozilla.org/Microsummaries">Microsummaries</a>
</dt><dd> Microsummaries are regularly-updated succinct compilations of the most important information on web pages.  Site and third-party developers can both provide them, and users can choose to display microsummaries instead of static titles when they bookmark pages with microsummaries.
</dd></dl>
<dl><dt> <a href="en/Creating_a_Microsummary">Creating a Microsummary</a>
</dt><dd> A tutorial on creating a microsummary generator.
</dd></dl>
<dl><dt> <a href="en/Creating_MozSearch_plugins">Creating MozSearch plugins</a>
</dt><dd> Firefox 2 supports MozSearch, a search plugin format based on OpenSearch.
</dd></dl>
<dl><dt> <a href="en/Supporting_search_suggestions_in_search_plugins">Supporting search suggestions in search plugins</a>
</dt><dd> How to make your MozSearch plugin support search suggestions, which appear in a popup box while typing in the search bar.
</dd></dl>
<dl><dt> <a href="en/New_in_JavaScript_1.7">New in JavaScript 1.7</a>
</dt><dd> Firefox 2 supports JavaScript 1.7, which includes new features including <code>let</code>, destructuring assignment, generators and iterators, and array comprehensions.
</dd></dl>
<dl><dt> <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#scs-client-side">WHATWG Client-side session and persistent storage</a>
</dt></dl>
<p><span class="comment">XXX maybe find some more attractive description</span>
</p>
<dl><dd> Client-side session and persistent storage allows web applications to store structured data on the client side.
</dd></dl>
<dl><dt> <a href="en/SVG_in_Firefox">SVG in Firefox</a>
</dt><dd> Firefox 2 improves Scalable Vector Graphics (SVG) support, implementing the <code>&lt;textPath&gt;</code> element and adding support for some attributes not previously supported.
</dd></dl>
<h3 name="For_XUL_and_extension_developers">For XUL and extension developers</h3>
<dl><dt> <a href="en/Session_restore_API">Session restore API</a>
</dt><dd> Contributing items to be saved and restored across sessions in Firefox.
</dd></dl>
<dl><dt> Feed content access API
</dt><dd> <i>This API is still being revised; documentation is forthcoming once it's settled down.</i>
</dd></dl>
<dl><dt> <a href="en/SAX">SAX support</a>
</dt><dd> Event-based XML parser API.
</dd></dl>
<dl><dt> <a href="en/Adding_search_engines_from_web_pages">Adding search engines from web pages</a>
</dt><dd> JavaScript code can instruct Firefox to install a new search engine plugin, which can be written using either OpenSearch or Sherlock format.
</dd></dl>
<dl><dt> <a href="en/Adding_phishing_protection_data_providers">Adding phishing protection data providers</a>
</dt><dd> It's possible to enhance Firefox's phishing protection by adding additional data providers for the safe browsing system.
</dd></dl>
<dl><dt> <a href="en/Storage">Storage</a>
</dt><dd> Firefox 2 introduces mozStorage, an sqlite based database architecture.
</dd></dl>
<dl><dt> Best practices for extension versioning
</dt><dd> How to use version numbers to deal with all the different prerelease versions of Firefox 2.
</dd></dl>
<h2 name="New_features_for_end_users">New features for end users</h2>
<h3 name="User_experience">User experience</h3>
<ul><li> <b>Inline spell checking for text areas</b> lets you compose with confidence in web forms.
</li><li> <b>Microsummaries</b> provide a way to create bookmarks that display information pulled from the site they refer to, updated automatically.  Great for stock tickers, auction monitoring, and so forth.
</li><li> <b>Extension Manager user interface</b> has been enhanced.
</li><li> <b>Search engine manager</b> lets you rearrange and remove search engines shown in the search bar.
</li><li> <b>Tabbed browsing enhancements</b> include adding close buttons to each tab, adjustments to how Firefox decides which tab to bring you to when you close the current tab, and simplified preferences for tabs.
</li><li> <b>Autodetection of search engines</b> allows search engines that offer plugins for the Firefox search bar to offer to install their plugins for you.
</li><li> <b>Search suggestions</b> allow search engines to offer suggested search terms based on what you've typed so far in the search bar.
</li></ul>
<h3 name="Security_and_privacy">Security and privacy</h3>
<ul><li> <b>Anti-phishing feature</b> to warn users when the web site you're looking at appears to be a forgery.
</li></ul>
{{ wiki.languages( { "fr": "fr/Firefox_2_pour_les_d\u00e9veloppeurs", "it": "it/Firefox_2_per_Sviluppatori", "ja": "ja/Firefox_2_for_developers", "pt": "pt/Firefox_2_para_desenvolvedores" } ) }}
Revert to this revision