From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- .../zh-tw/mozilla/firefox/releases/1.5/index.html | 103 +++++++ files/zh-tw/mozilla/firefox/releases/10/index.html | 209 ++++++++++++++ files/zh-tw/mozilla/firefox/releases/11/index.html | 111 ++++++++ .../2/adding_feed_readers_to_firefox/index.html | 36 +++ files/zh-tw/mozilla/firefox/releases/2/index.html | 89 ++++++ .../firefox/releases/2/security_changes/index.html | 29 ++ .../zh-tw/mozilla/firefox/releases/3.6/index.html | 301 +++++++++++++++++++++ .../firefox/releases/3/dom_improvements/index.html | 26 ++ .../3/firefox_3_css_improvement/index.html | 30 ++ files/zh-tw/mozilla/firefox/releases/3/index.html | 93 +++++++ files/zh-tw/mozilla/firefox/releases/35/index.html | 130 +++++++++ .../index.html" | 228 ++++++++++++++++ files/zh-tw/mozilla/firefox/releases/4/index.html | 231 ++++++++++++++++ files/zh-tw/mozilla/firefox/releases/5/index.html | 165 +++++++++++ files/zh-tw/mozilla/firefox/releases/6/index.html | 291 ++++++++++++++++++++ files/zh-tw/mozilla/firefox/releases/61/index.html | 139 ++++++++++ files/zh-tw/mozilla/firefox/releases/68/index.html | 240 ++++++++++++++++ files/zh-tw/mozilla/firefox/releases/7/index.html | 189 +++++++++++++ files/zh-tw/mozilla/firefox/releases/8/index.html | 259 ++++++++++++++++++ files/zh-tw/mozilla/firefox/releases/9/index.html | 231 ++++++++++++++++ files/zh-tw/mozilla/firefox/releases/index.html | 12 + 21 files changed, 3142 insertions(+) create mode 100644 files/zh-tw/mozilla/firefox/releases/1.5/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/10/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/11/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/2/adding_feed_readers_to_firefox/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/2/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/2/security_changes/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/3.6/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/3/dom_improvements/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/3/firefox_3_css_improvement/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/3/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/35/index.html create mode 100644 "files/zh-tw/mozilla/firefox/releases/4/firefox_4_\351\226\213\347\231\274\350\200\205\346\226\260\345\212\237\350\203\275\346\246\202\350\246\275/index.html" create mode 100644 files/zh-tw/mozilla/firefox/releases/4/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/5/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/6/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/61/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/68/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/7/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/8/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/9/index.html create mode 100644 files/zh-tw/mozilla/firefox/releases/index.html (limited to 'files/zh-tw/mozilla/firefox/releases') diff --git a/files/zh-tw/mozilla/firefox/releases/1.5/index.html b/files/zh-tw/mozilla/firefox/releases/1.5/index.html new file mode 100644 index 0000000000..01321916f6 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/1.5/index.html @@ -0,0 +1,103 @@ +--- +title: Firefox 1.5 技術文件 +slug: Mozilla/Firefox/Releases/1.5 +translation_of: Mozilla/Firefox/Releases/1.5 +--- +
{{FirefoxSidebar}}

Based on the Gecko 1.8 engine, Firefox 1.5 improved its already best in class standards support, and provided new capabilities to enable the next generation of web applications. Firefox 1.5 features improved support for CSS2 and CSS3, APIs for scriptable and programmable 2D graphics through SVG 1.1 and <canvas>, XForms and XML events, as well as many DHTML, JavaScript, and DOM enhancements.

+

Developer Tools

+

Several tools and browser extensions are available to help developers support Firefox 1.5.

+ +

Note: Some extensions do not currently support Firefox 1.5, and will be automatically disabled.

+

Overview

+

Some of the new features in Firefox 1.5:

+

Web site and application developers

+
+
+ SVG In XHTML Introduction
+
+ Learn how to use SVG in XHTML pages and how to use JavaScript and CSS to manipulate the picture in the same way you would script regular XHTML. See also SVG in Firefox to learn about the status and known problems of SVG implementation in Firefox.
+
+ Drawing Graphics with Canvas
+
+ Learn about the new <canvas> tag and how to draw graphs and other objects in Firefox.
+
+ CSS3 Columns
+
+ Learn about the new support for automatic multi-column text layout as proposed for CSS3.
+
+ Using Firefox 1.5 caching
+
+ Learn about bfcache and how it speeds up back and forward navigation.
+
+

XUL and Extension Developers

+
+
+ Building an Extension
+
+ This tutorial will take you through the steps required to build a very basic extension for Firefox. Also see another tutorial on MozillaZine knowledge base, which demonstrates the new features of the Extension Manager in 1.5 that make creating a new extension even easier.
+
+ XPCNativeWrapper
+
+ XPCNativeWrapper is a way to wrap up an object so that it's safe to access from privileged code. It can be used in all Firefox versions, though the behavior changed somewhat starting with Firefox 1.5 (Gecko 1.8).
+
+ Preferences System
+
+ Learn about the new widgets that allow you to create Options windows easier using less JavaScript code.
+
+ International characters in XUL JavaScript
+
+ XUL JavaScript files can now contain non-ASCII characters.
+
+ Tree API changes
+
+ The interfaces for accessing XUL <tree> elements have changed.
+
+ XUL Changes for Firefox 1.5
+
+ Summary of XUL changes. See also Adapting XUL Applications for Firefox 1.5.
+
+ + +

New End user Features

+

User Experience

+ +

Security and Privacy

+ +

Support for open Web standards

+

Firefox support for Web standards continues to lead the industry with consistent cross-platform implementations for:

+ +

Firefox 1.5 supports the following data transport protocols (HTTP, FTP, SSL, TLS, and others), multilingual character data (Unicode), graphics (GIF, JPEG, PNG, SVG, and others) and the latest version of the world's most popular scripting language, JavaScript 1.6.

+

Changes since Firefox 1.0

+

Many changes have been introduced into Firefox since it was first released on November 9, 2004. Firefox has progressed with many new features and bug fixes. A detailed list of changes is available from squarefree.com.

diff --git a/files/zh-tw/mozilla/firefox/releases/10/index.html b/files/zh-tw/mozilla/firefox/releases/10/index.html new file mode 100644 index 0000000000..1226e5de82 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/10/index.html @@ -0,0 +1,209 @@ +--- +title: Firefox 10 技術文件 +slug: Mozilla/Firefox/Releases/10 +translation_of: Mozilla/Firefox/Releases/10 +--- +
{{FirefoxSidebar}}
+ +

Firefox 10 shipped on January 31, 2012. This article provides information about the new features and key bugs fixed in this release, as well as links to more detailed documentation for both web developers and add-on developers.

+ +

This documentation is not yet complete. Want to help document Firefox 10? See the list of bugs that need to be written about and pitch in!

+ +
Important note: Firefox 10 is the first release of this browser with two digits. This may lead to problem with some UA-sniffing scripts. Be sure to check them, and those contained in 3rd-party software you embed in your pages, like libraries. For more information about this, look at the Firefox goes 2-digit article on hack.mozilla.org.
+ +

Changes for Web developers

+ +

HTML

+ + + +

JavaScript

+ + + +

DOM

+ +

DOM3 Events

+ + + +

DOM4

+ + + +

Page Visibility API

+ + + +

Full Screen API

+ + + +

Battery API

+ + + +

Canvas

+ + + +

WebGL

+ + + +

Web Workers

+ + + +

IndexedDB

+ +

Great progress has been made to update IndexedDB to the latest draft specification. This effort will continue in Firefox 11.

+ + + +

Other

+ + + +

CSS

+ + + +

SVG

+ + + +

Networking

+ + + +

Developer tools

+ + + +

Changes for Mozilla and add-on developers

+ +

For an overview of likely issues that may arise when updating your add-ons to support Firefox 10, see Updating add-ons for Firefox 10.

+ +
Note: The old PRBool data type has been retired! Anywhere in the documentation that refers to it now uses the standard C++ bool type instead. Documentation will be updated in the future, but for now, just keep this in mind.
+ +

Manifests

+ + + +

XUL

+ + + +

XPConnect

+ + + +

Interface changes

+ + + +

Plug-in changes

+ + + +

Build system changes

+ + + +

See also

+ + + +

{{ languages( { "ja": "ja/Firefox_10_for_developers" } ) }}

diff --git a/files/zh-tw/mozilla/firefox/releases/11/index.html b/files/zh-tw/mozilla/firefox/releases/11/index.html new file mode 100644 index 0000000000..cd5895fe6d --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/11/index.html @@ -0,0 +1,111 @@ +--- +title: Firefox 11 技術文件 +slug: Mozilla/Firefox/Releases/11 +translation_of: Mozilla/Firefox/Releases/11 +--- +
{{FirefoxSidebar}}

Firefox 11 shipped on March 13, 2012. This article provides information about the new features and key bugs fixed in this release, as well as links to more detailed documentation for both web developers and add-on developers.

+

Changes for Web developers

+

HTML

+ +

DOM

+ +

CSS

+ +

JavaScript

+

No change.

+

SVG

+ +

WebSocket

+ +

IndexedDB

+ +

Network

+ +

Developer tools

+ +

Changes for Mozilla and add-on developers

+

JavaScript code modules

+

NetUtil.jsm

+ +

New JavaScript code modules

+
+
+ source-editor.jsm
+
+ Provides a convenient, easy-to-use source code editor that you can use in your add-ons. This is the same editor used by Scratchpad and other developer tools integrated into Firefox.
+
+

Interface changes

+ +

Removed interfaces

+

The following interfaces were implementation details that are no longer needed:

+ + + +

Preference changes

+
+
+ {{Pref("ui.tooltipDelay")}}
+
+ Specifies the delay, in milliseconds, between the mouse cursor beginning to hover and the display of a tooltip.
+
+

Build system changes

+ +

Other changes

+ +

See also

+
+ {{Firefox_for_developers('10')}}
diff --git a/files/zh-tw/mozilla/firefox/releases/2/adding_feed_readers_to_firefox/index.html b/files/zh-tw/mozilla/firefox/releases/2/adding_feed_readers_to_firefox/index.html new file mode 100644 index 0000000000..79a12bae1d --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/2/adding_feed_readers_to_firefox/index.html @@ -0,0 +1,36 @@ +--- +title: 新增消息來源閱讀工具 +slug: Mozilla/Firefox/Releases/2/Adding_feed_readers_to_Firefox +translation_of: Mozilla/Firefox/Releases/2/Adding_feed_readers_to_Firefox +--- +
{{FirefoxSidebar}}

從 Firefox 2 起,消息來源(feed)可選用不同的 RSS 或 Atom 閱讀工具訂閱。這份文件提供新增其他閱讀程式支援的方法。 +

+

新增 Web 版閱讀工具

+

新增 Web 版閱讀工具需要三個設定: +

+
browser.contentHandlers.types.number.title +
閱讀程式的名稱。 +
browser.contentHandlers.types.number.type +
這部份必須設定為「application/vnd.mozilla.maybe.feed」。 +
browser.contentHandlers.types.number.uri +
閱讀程式的 URI。其中以「%s」標示消息來源 URL 必須插入的地方。 +
+

number 應該替換成尚未使用的最小自然數。舉例來說,如果要新增一個名為「Easy Reader」的閱讀工具、且目前 0 到 4 皆已使用,則應將 number 設定為 5,如下: +

+ +

你可以用 <tt>about:config</tt> 手動加入這些設定,如果擴充套件要新增閱讀工具則亦可寫程式修改之。 +

+

從 Web 應用程式新增閱讀工具

+

使用 JavaScript 也可輕易新增消息來源的閱讀工具,只要用 navigator.registerContentHandler() 函式即可,如下: +

+
navigator.registerContentHandler("application/vnd.mozilla.maybe.feed",
+                                 "http://www.theeasyreaderurl.com?feed=%s",
+                                 "Easy Reader");
+
+

新增本機閱讀程式

+

新增本機閱讀程式時,最簡單的方式便是使用「選項」(或「偏好設定」,名稱視作業系統而定)的「消息來源」面板直接添加。 +

當然也可以用擴充套件,改以程式方式新增閱讀程式。只要將browser.feeds.handlers.application 設定為閱讀程式的路徑即可。 +

{{ languages( { "en": "en/Adding_feed_readers_to_Firefox", "es": "es/A\u00f1adir_lectores_de_canales_a_Firefox", "ja": "ja/Adding_feed_readers_to_Firefox" } ) }} diff --git a/files/zh-tw/mozilla/firefox/releases/2/index.html b/files/zh-tw/mozilla/firefox/releases/2/index.html new file mode 100644 index 0000000000..a68f4fcbac --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/2/index.html @@ -0,0 +1,89 @@ +--- +title: Firefox 2 技術文件 +slug: Mozilla/Firefox/Releases/2 +translation_of: Mozilla/Firefox/Releases/2 +--- +
{{FirefoxSidebar}}

Firefox 2 的開發相關特色

+

Firefox 2 有許多新的特色及功能,本文提供各項新特色的相關文章連結。 +

+

給網頁設計師及開發者

+
即時摘要 +
即時摘要能定期顯示網頁中的關鍵訊息。網站或其他第三方開發者都能提供即時摘要來源,而後使用者能選擇在書籤上顯示即時摘要或網頁標題。 +
+
製作即時摘要 +
即時摘要來源的製作教學。 +
+
即時摘要 XML 語法參考 +
即時摘要來源之 XML 語法參考指南。 +
+
製作 OpenSearch 搜尋模組 +
Firefox 2 支援 OpenSearch 搜尋模組格式。 +
+
製作 MozSearch 搜尋模組 +
Firefox 2 支援擴充版的 OpenSearch 格式,名為 MozSearch。但此非標準,故僅建議用於程式內部。 +
+
讓搜尋模組支援搜尋建議 +
讓你的 MozSearch 模組支援搜尋建議功能,此功能將於搜尋欄中以下拉選單顯示建議關鍵字。 +
+
JavaScript 1.7 新功能 +
Firefox 2 支援 JavaScript 1.7,包含新的 let 表達式、跨結構指定(destructuring assignment)、產生器 (generators)、迴圈器 (iterators) 和陣列簡約式 (array comprehensions)。 +
+
WHATWG 於用戶端儲存工作階段資料 +
於用戶端儲存工作階段資料技術可讓網路應用程式於用戶端儲存結構化資料。 +
+
Firefox 中的 SVG +
Firefox 2 提升支援 Scalable Vector Graphics (SVG) 的程度,實作了 <textPath> 元素、也開始支援某些從前無法妥善處理的屬性。 +
+
控制 HTML 表單中的拼字檢查功能 +
Firefox 2 支援文字輸入區的即時拼字檢查,本文描述撰寫 HTML 表單元素時啟用或停用此功能的方法。 +
+
Firefox 2 的安全功能 +
某些與安全相關之協定的預設啟用情形,在 Firefox 2 有了更動。 +
+

給 XUL 與擴充套件開發者

+
讓擴充套件升級至 Firefox 2 +
描述讓現有擴充套件升級以便支援 Firefox 2 的方法。 +
+
跨連線儲存 (Session store) API +
Firefox 現在支援跨連線 (Session) 儲存或復原資料。 +
+
消息來源內容存取 API +
讓開發者存取、解析 RSS 或 Atom 消息來源的 API。 +
+
SAX 支援 +
事件驅動式的 XML 解析 API。 +
+
自網頁添加搜尋引擎 +
Firefox 能以 JavaScript 新增搜尋引擎模組,模組可為 OpenSearch 或 Sherlock 格式。 +
+
於 XUL 中使用拼字檢查 +
如何使用拼字檢查功能及怎樣取得建議拼字清單的程式碼。 +
+
新增偽造網站清單來源 +
Firefox 可以新增額外的詐騙網站資料來源,藉此提升偵測偽造網站的能力。 +
+
新增消息來源閱讀工具 +
你可以用網頁或程式新增 Firefox 的消息來源閱讀工具。 +
+
Storage +
Firefox 2 新增 mozStorage 功能,為基於 sqlite 的資料庫結構。 +
+
Firefox 2 佈景主題之更動 +
討論現有佈景主題更新以便支援 Firefox 2 的方法。 +
+

給廣大使用者的新功能

+

Firefox 2 提供比上個版本更簡潔的操作介面,強化的安全隱私保護,讓您上網更安全方便。 +

+

使用操作體驗

+ +

安全隱私保護

+ +{{ languages( { "ca": "ca/Firefox_2_per_a_desenvolupadors", "es": "es/Firefox_2_para_desarrolladores", "en": "en/Firefox_2_for_developers", "fr": "fr/Firefox_2_pour_les_d\u00e9veloppeurs", "it": "it/Firefox_2.0_per_Sviluppatori", "ja": "ja/Firefox_2_for_developers", "ko": "ko/Firefox_2_for_developers", "pl": "pl/Firefox_2_dla_programist\u00f3w", "pt": "pt/Firefox_2_para_desenvolvedores" } ) }} diff --git a/files/zh-tw/mozilla/firefox/releases/2/security_changes/index.html b/files/zh-tw/mozilla/firefox/releases/2/security_changes/index.html new file mode 100644 index 0000000000..d0a4b7ad5a --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/2/security_changes/index.html @@ -0,0 +1,29 @@ +--- +title: Firefox 2 的安全功能 +slug: Mozilla/Firefox/Releases/2/Security_changes +tags: + - 安全性 + - 待翻譯 +translation_of: Mozilla/Firefox/Releases/2/Security_changes +--- +
{{FirefoxSidebar}}

本文探討 Firefox 2 與安全性相關的變動。

+ +

不夠安全的編碼方式皆預設關閉

+ +

Firefox 2 預設停用 SSLv2 及不夠安全的「export」編碼方式(金鑰長度小於 64 位元),改以 SSLv3 替代,這樣可以提高安全性。

+ +

偏好的編碼方式為 TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHATLS_RSA_WITH_3DES_EDE_CBC_SHA。有些伺服器則稱為 SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHASSL_RSA_WITH_3DES_EDE_CBC_SHA

+ +

若 SSLv2 必須開啟,則可以將各項以 security.ssl2.* 開頭的使用偏好設定為 true

+ +

新特色

+ + + +

開啟與關閉編碼方式

+ +

透過在 URL 上打上 about:config,並且篩選 "ssl" 或 "tls",你可以得知 Firefox 2 支援哪些加密編碼,並且開啟或關閉這些加密方式。

diff --git a/files/zh-tw/mozilla/firefox/releases/3.6/index.html b/files/zh-tw/mozilla/firefox/releases/3.6/index.html new file mode 100644 index 0000000000..f053267778 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/3.6/index.html @@ -0,0 +1,301 @@ +--- +title: Firefox 3.6 技術文件 +slug: Mozilla/Firefox/Releases/3.6 +translation_of: Mozilla/Firefox/Releases/3.6 +--- +

Firefox 3.6 offers support for new and developing web standards, increased performance, and an overall better experience for web users and developers. This page provides links to articles covering the new capabilities of Firefox 3.6.

+ +

For web site and application developers

+ +

CSS

+ +
+
Using gradients
+
Firefox 3.6 adds support for the proposed -moz-linear-gradient and -moz-radial-gradient properties for background.
+
Multiple backgrounds
+
The background property (as well as background-color, background-image, background-position, background-repeat, and background-attachment) now supports multiple backgrounds. This lets you specify multiple backgrounds that are rendered atop one another in layers.
+
Mozilla-specific media features
+
Media features have been added for Mozilla-specific system metrics, so that media queries can be used to more safely check on the availability of features such as touch support.
+
Scaling background images
+
The background-size property from the CSS 3 Backgrounds and Borders draft is now supported under the name -moz-background-size.
+
WOFF font support
+
@font-face now supports the WOFF downloadable font file format.
+
Pointer events
+
The pointer-events property lets content specify whether or not an element may be the target of mouse pointer events.
+
+ +

Miscellaneous CSS changes

+ + + +

HTML

+ +
+
Using files from web applications
+
Support for the new HTML5 File API has been added to Gecko, making it possible for web applications to access local files selected by the user. This includes support for selecting multiple files using the input type="file" HTML element's new multiple attribute.
+
HTML5 video supports poster frames
+
The poster attribute is now supported for the video element, allowing content to specify a poster frame to be displayed until the video begins to play.
+
Checkboxes and radio buttons support the indeterminate property
+
HTML input elements of types checkbox and radio now support the indeterminate property, which allows a third, "indeterminate" state.
+
Canvas image smoothing can be controlled
+
The new mozImageSmoothingEnabled property can be used to turn on and off image smoothing when scaling in canvas elements.
+
Asynchronous script execution
+
By setting the async attribute on a script element, the script will not block loading or display of the rest of the page. Instead the script executes as soon as it is downloaded.
+
+ +

JavaScript

+ +

Gecko 1.9.2 introduces JavaScript 1.8.2, which adds a number of language features from the ECMAScript 5 standard:

+ + + +
+
+ +

DOM

+ +
+
Web workers can now self-terminate
+
Workers now support the nsIWorkerScope.close() method, which allows them to terminate themselves.
+
Drag and drop now supports files
+
The DataTransfer object provided to drag listeners now includes a list of files that were dragged.
+
Checking to see if an element matches a specified CSS selector
+
The new element.mozMatchesSelector method lets you determine whether or not an element matches a specified CSS selector. See bug 518003.
+
Detecting device orientation
+
Content can now detect the orientation of the device if it has a supported accelerometer, using the MozOrientation event. Firefox 3.6 supports the accelerometer in Mac laptops.
+
Detecting document width and height changes
+
The new MozScrollAreaChanged event is dispatched whenever the document's scrollWidth and/or scrollHeight properties change.
+
+ +

Miscellaneous DOM changes

+ + + +

XPath

+ +
+
The choose() XPath method is now supported
+
The choose() method is now supported by our implementation of XPath.
+
+ +

For XUL and add-on developers

+ +

If you're an extension developer, you should start by reading Updating extensions for Firefox 3.6, which offers a helpful overview of what changes may affect your extension. Plug-in developers should read Updating plug-ins for Firefox 3.6.

+ +

New features

+ +
+
Detecting device orientation
+
Content can now detect the orientation of the device if it has a supported accelerometer, using the MozOrientation event. Firefox 3.6 supports the accelerometer in Mac laptops.
+
Monitoring HTTP activity
+
You can now monitor HTTP transactions to observe requests and responses in real time.
+
Working with the Windows taskbar
+
It's now possible to customize the appearance of windows in the taskbar in Windows 7 or later. This has been disabled by default in Firefox 3.6.
+
+ +

Places

+ + + +

Storage

+ +
+
Locale-aware collation of data is now supported by the Storage API
+
Gecko 1.9.2 added several new collation methods to provide optimized collation (sorting) of results using locale-aware techniques.
+
Properties on a statement can now be enumerated
+
You can now use a for..in enumeration to enumerate all the properties on a statement.
+
mozIStorageStatement's getParameterIndex changed behavior between 3.5 and 3.6.
+
See bug 528166 for details.
+
Asynchronously bind multiple sets of parameters and execute a statement.
+
See bug 490085 for details. Documentation coming soon.
+
+ +

Preferences

+ + + +

Themes

+ +

See Updating themes for Firefox 3.6 for a list of changes related to themes.

+ +
+
Lightweight themes
+
Firefox 3.6 supports lightweight themes; these are easy-to-create themes that simply apply a background to the top (URL bar and button bar) and bottom (status bar) of browser windows. This is an integration of the existing Personas theme architecture into Firefox.
+
+ +

Miscellaneous

+ + + +

For Firefox/Gecko developers

+ +

Certain changes are only really interesting if you work on the internals of Firefox itself.

+ +

Interfaces merged

+ +

The following interfaces have been combined together:

+ + + +

Interfaces removed

+ +

The following interfaces have been removed entirely because they were unused, unimplemented, or obsolete:

+ + + +

Interfaces moved

+ +

The following interfaces have been relocated from their previous IDL files into new ones:

+ + + +

A large number of interfaces have been moved. See Interfaces moved in Firefox 3.6 for a complete list.

+ +

Other interface changes

+ +

The following assorted changes have been made:

+ + + +

Changes in accessibility code

+ + + +

See also

+ +
diff --git a/files/zh-tw/mozilla/firefox/releases/3/dom_improvements/index.html b/files/zh-tw/mozilla/firefox/releases/3/dom_improvements/index.html new file mode 100644 index 0000000000..315cc39037 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/3/dom_improvements/index.html @@ -0,0 +1,26 @@ +--- +title: Firefox 3 Dom Improvements +slug: Mozilla/Firefox/Releases/3/DOM_improvements +translation_of: Mozilla/Firefox/Releases/3/DOM_improvements +--- +
{{FirefoxSidebar}}

Firefox 3 對 DOM 的改善

+

Firefox 3 對 DOM 做了一些改善,改善重點之一就是加強對於「其他瀏覽器對 DOM 所增加的延伸規格」的支援。

+ +

參考資料

+ +

延伸閱讀

+ diff --git a/files/zh-tw/mozilla/firefox/releases/3/firefox_3_css_improvement/index.html b/files/zh-tw/mozilla/firefox/releases/3/firefox_3_css_improvement/index.html new file mode 100644 index 0000000000..bbad0696a8 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/3/firefox_3_css_improvement/index.html @@ -0,0 +1,30 @@ +--- +title: Firefox 3 CSS Improvement +slug: Mozilla/Firefox/Releases/3/Firefox_3_CSS_Improvement +translation_of: Mozilla/Firefox/releases/3/CSS_improvements +--- +
{{FirefoxSidebar}}

Firefox 3 CSS 的改善

+ +

參考資訊

+ +

延伸閱讀

+ diff --git a/files/zh-tw/mozilla/firefox/releases/3/index.html b/files/zh-tw/mozilla/firefox/releases/3/index.html new file mode 100644 index 0000000000..a6663801f8 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/3/index.html @@ -0,0 +1,93 @@ +--- +title: Firefox 3 技術文件 +slug: Mozilla/Firefox/Releases/3 +translation_of: Mozilla/Firefox/Releases/3 +--- +
{{FirefoxSidebar}}

Firefox 3 網站開發須知

+

 

+
+
+ Web application 需要更新的地方
+
+ 提供一些應用 Firefox 3 的新功能在 web applications 時可能需要注意的地方。
+
+ Online / Offline 事件
+
+ Firefox 3 支援 WHATWG 的 online/offline event,讓 applications/extensions 可以偵測目前是否有 active 的網際網路連線、目前是在線上還是斷線中。
+
+ Cross-site XMLHttpRequest
+
+ Firefox 3 支援了 W3C Access Control working draft,這讓你可以對其他網站作 XMLHttpRequests 以取得其他網站的資料,並加以管理,這讓你可以在自己建立的網站中,混入來自多個其他網站的內容。
+
+ Alternate style sheet
+
+ Firefox 3 支援 CSS object model alternate style sheet API。(見 Bug 200930)
+
+ Web-based protocol handlers
+
+ 在 Firefox 3,我們可以使用 navigator.registerProtocolHandler() 的方式把 web application 註冊為 protocal handler。
+
+ 使用 Canvas 來「畫」字
+
+ Firefox 3 支援用 mozilla 專用的非標準、實驗中的 API (mozXXX) 來處理 <canvas>
+
+ 支援在 Canvas 使用 transform
+
+ Firefox 3 支援在 <canvas> 上使用 transform() 與 setTransform()
+
+ 使用 microformat
+
+ Firefox 3 現在有 APIs 可以處理 microformat
+
+ Drag / drop 事件
+
+ Firefox 3 支援兩個新的 events,在「拖放」開始與結束的時候,可以傳給「拖放操作」的 source node。
+
+ HTML 5 的 focus 相關屬性
+
+ Firefox 3 支援 HTML 5 新增給 DOM 的兩個屬性 activeElementhasFocus
+
+ Offline resources on Firefox
+
+ Firefox 3 現在支援讓 web application 可以要求將 resources 存入快取,以便我們離線時可以執行 web applications。
+
+ CSS 的改善
+
+ Firefox 3 改善了對於 CSS 的支援。
+
+ DOM 的改善
+
+ Firefox 3 的 DOM implimentation 有一些新功能,其中包括:支援了 IE 對 DOM 作的某些 extensions。
+
+ Javascript 1.8 的支援
+
+ Firefox 3 現在支援 Javascript 1.8。(見 Bug 380236)
+
+ EXSLT 的支援
+
+ Firefox 3 支援了 a substantial subset of the EXSLT extensions to XSLT。
+
+ SVG 的改善
+
+ Firefox 3 大大提高了對 SVG 的支援,其中包括:支援了超過兩打的新 filters、好幾個新元素、新屬性,以及其他的改善。
+
+ Animated PNG 的支援
+
+ Firefox 3 現在支援動態 PNG 格式 (Animated PNG image format)
+
+ <a ping> 的支援
+
+ Firefox 3 現在支援用 <a ping> 去 ping URL,並且預設是 enable 的。
+
+

參考資料

+

Firefox 3 for developers

+

延伸閱讀

+ +
+  
+

{{ languages( { "en": "en/Firefox_3_for_developers", "es": "es/Firefox_3_para_desarrolladores", "fr": "fr/Firefox_3_pour_les_d\u00e9veloppeurs", "ja": "ja/Firefox_3_for_developers", "ko": "ko/Firefox_3_for_developers", "pl": "pl/Firefox_3_dla_programist\u00f3w", "pt": "pt/Firefox_3_para_desenvolvedores" } ) }}

diff --git a/files/zh-tw/mozilla/firefox/releases/35/index.html b/files/zh-tw/mozilla/firefox/releases/35/index.html new file mode 100644 index 0000000000..d15394097d --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/35/index.html @@ -0,0 +1,130 @@ +--- +title: Firefox 35 技術文件 +slug: Mozilla/Firefox/Releases/35 +translation_of: Mozilla/Firefox/Releases/35 +--- +
+ {{ ReleaseChannelInfo("35", "35", "January 2015", "Aurora") }}
+

Want to help document Firefox 35? See the list of bugs that need to be written about and pitch in!

+

Changes for Web developers

+

Developer Tools

+

Highlights:

+ +

All devtools bugs fixed between Firefox 34 and Firefox 35.

+

CSS

+ +

HTML

+ +

JavaScript

+ +

Interfaces/APIs/DOM

+ +

MathML

+ +

SVG

+

No change.

+

Audio/Video

+

No change.

+

Security

+ +

Changes for add-on and Mozilla developers

+

XUL

+ +

Older versions

+
+ +
diff --git "a/files/zh-tw/mozilla/firefox/releases/4/firefox_4_\351\226\213\347\231\274\350\200\205\346\226\260\345\212\237\350\203\275\346\246\202\350\246\275/index.html" "b/files/zh-tw/mozilla/firefox/releases/4/firefox_4_\351\226\213\347\231\274\350\200\205\346\226\260\345\212\237\350\203\275\346\246\202\350\246\275/index.html" new file mode 100644 index 0000000000..c36dad8487 --- /dev/null +++ "b/files/zh-tw/mozilla/firefox/releases/4/firefox_4_\351\226\213\347\231\274\350\200\205\346\226\260\345\212\237\350\203\275\346\246\202\350\246\275/index.html" @@ -0,0 +1,228 @@ +--- +title: Firefox 4 for developers +slug: Mozilla/Firefox/Releases/4/Firefox_4_開發者新功能概覽 +--- +
{{FirefoxSidebar}}

2010 年六月起進入 Beta 測試期的 Firefox 4,增進了效能、加強針對 HTML 5 及其他創新網際科技的支援程度,也更加安全。本文為網頁、附加元件、Gecko 平台開發者們提供這一版的簡要技術相關資訊。

+ +
+

{{ gecko_callout_heading("2") }}

+ +

Gecko 1.9.3 即將更名為 Gecko 2,但許多文件還沒有針對此點更新,在接下來的幾個星期中才會有所更動。

+
+ +

以下大部分的功能都已經可以在 逐日建置版中試用。

+ +
註:本文、以及本文所連結的其他文件仍持續編修中,很多文件的名稱只是暫定、有些主題的文件也可能會拆成幾份子文件以方便閱讀。中文團隊的目標將僅翻譯這份概覽,其他子文件則有待大家的幫忙。
+ +

Features for web developers

+ +

Gecko now uses the HTML5 parser, which fixes bugs, improves interoperability, and improves performance. It also lets content embed SVG and MathML directly in the HTML markup.

+ +

HTML

+ +
+
Introduction to the HTML5 parser
+
A look at what the HTML5 parser means to you, and how to embed SVG and MathML into your content inline.
+
Forms in HTML5
+
A look at improvements to web forms in HTML5.
+
HTML5 Sections
+
Gecko now supports the new HTML5 elements related to sections in a document: {{ HTMLElement("article") }}, {{ HTMLElement("section") }}, {{ HTMLElement("nav") }}, {{ HTMLElement("aside") }}, {{ HTMLElement("hgroup") }}, {{ HTMLElement("header") }} and {{ HTMLElement("footer") }}.
+
Other HTML5 elements
+
Gecko now also supports the following new HTML5 elements: {{ HTMLElement("mark") }}, {{ HTMLElement("figure") }} and  {{ HTMLElement("figcaption") }}.
+
WebSockets
+
A guide to using the new WebSockets API for real-time communication between a web application and a server.
+
+ +

Miscellaneous HTML changes

+ + + +

CSS

+ +
+
CSS transitions
+
New CSS transitions support is available in Firefox 4.
+
Computed values in CSS
+
Support for calc() to compute values in CSS is in progress. See {{ bug(363249) }}.
+
Selector grouping
+
Support for {{ cssxref(":-moz-any") }} to group selectors and factorize combinators.
+
Background image subrectangle support
+
The {{ cssxref("-moz-image-rect") }} property makes it possible to use subrectangles of images as a background image.
+
CSS touch properties
+
Support for touch properties is added. Details, and real article names, to come later.
+
Privacy and the :visited selector
+
Changes have been made to what information can be obtained about the style of visited links using CSS selectors. This may affect some web applications.
+
+ +

Miscellaneous CSS changes

+ + + +

Graphics and video

+ +
+
 
+
WebGL
+
The developing WebGL standard is now supported by Firefox.
+
Optimizing graphics performance
+
Tips and tricks for getting the most out of graphics and video performance in Firefox 4.
+
Support for WebM video
+
The new open WebM video format is supported by Gecko 1.9.3; support is included in nightlies as of 9 June.
+
Full screen API
+
Details coming soon.
+
SMIL animation
+
Support for SMIL animation of SVG is now available. See {{ bug(482402) }}.
+
Using SVG as images and as CSS backgrounds
+
You can now use SVG with the {{ htmlelement("img") }} element, as well as the background image in CSS. See {{ bug(272288) }}, {{ bug(276431) }} and {{ bug(231179) }}.
+
+ +

DOM

+ +
+
Obtaining boundary rectangles for ranges
+
The Range object now has getClientRects() and getBoundingClientRect() methods. See {{ bug(396392) }}.
+
Capturing mouse events on arbitrary elements
+
Support for the Internet Explorer-originated setCapture() and releaseCapture() APIs has been added. See {{ bug(503943) }}.
+
Manipulating the browser history
+
The existing document history object, available through the {{ domxref("window.history") }} object, now supports the new HTML5 pushState() and replaceState() methods.
+
Touch and multi-touch events
+
Support has been added for touch and multi-touch events.
+
IndexedDB
+
The proposed IndexedDB standard, which provides a local database store for web applications, will be supported by Firefox 4.
+
+ +

Miscellaneous DOM changes

+ + + +

Security

+ +
+
Introducing Content Security Policy
+
Content Security Policy (CSP) is a Mozilla proposal designed to help web designers and server administrators specify how content on their web sites interacts. The goal is to help detect and mitigate attacks including cross-site scripting and data injection attacks.
+
ForceTLS
+
Details soon.
+
The Account Manager
+
Details soon.
+
+ +

JavaScript

+ +

For an overview of the changes implemented in JavaScript 1.8.5, see New in JavaScript 1.8.5. JavaScript in Firefox 4 will have additional adherence to the ECMAScript 5 standard.

+ +

Changes for Mozilla and add-on developers

+ +

For helpful tips on updating existing extensions for Firefox 4, see Updating extensions for Firefox 4.

+ +

JavaScript code modules

+ +
+
Services.jsm
+
The Services.jsm code module provides getters that make it easy to obtain references to commonly-used services, such as the preferences service or the window mediator, among others.
+
+ +
+
JS-ctypes API
+
The JS-ctypes API makes it possible to call C-compatible foreign library functions without using XPCOM.
+
Add-ons Manager
+
The new Add-ons Manager provides information about installed add-ons, support for managing them, and provides ways to install and remove add-ons.
+
Loading code modules from chrome: URLs
+
You can now load JavaScript code modules using chrome: URLs, even inside JAR files.
+
+ +

DOM changes

+ +
+
{{ domxref("ChromeWorker") }}
+
A new type of worker for privileged code; this lets you use things like js-ctypes from workers in extensions and application code.
+
+ +

XUL

+ +

tabbrowser (gBrowser) changes

+ +

Several changes were made to the {{ XULElem("tabbrowser") }} element that impact extensions that interact with tabs.

+ + + +

Miscellaneous XUL changes

+ + + +

Storage

+ +

Miscellaneous storage API changes

+ + + +

XPCOM

+ +
+
XPCOM changes in Gecko 1.9.3
+
Details about changes to XPCOM that impact compatibility in Firefox 4.
+
Components.utils.getGlobalForObject()
+
This new method returns the global object with which an object is associated; this replaces a common use case of the now-removed __parent__.
+
+ +

Memory management

+ +
+
Infallible memory allocation
+
Mozilla now provides infallible memory allocators that are guaranteed not to return null. You should read this article to learn how they work and how to explicitly request fallible versus infallible memory allocation.
+
+ +

Other changes

+ +
+
Gopher support removed
+
The Gopher protocol is no longer supported natively. Continued support is available via the OverbiteFF extension.
+
Default plugin removed
+
The default plugin has been removed. The application plugins folder has also been removed by default, however support for installing plugins via this folder still exists. See bug 533891.
+
Extension Manager replaced with AddonManager
+
nsIExtensionManager has been replaced by AddonManager. Since there is apparently no way at present to obtain the install location from a given extension ID, the closest workaround is to use the directory service to find the profile directory and append "extensions" to it (though this approach will not catch extensions outside of the profile directory or those which are aliased to another location).
+
+ +

參考

+ + diff --git a/files/zh-tw/mozilla/firefox/releases/4/index.html b/files/zh-tw/mozilla/firefox/releases/4/index.html new file mode 100644 index 0000000000..394f07815e --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/4/index.html @@ -0,0 +1,231 @@ +--- +title: Firefox 4 技術文件 +slug: Mozilla/Firefox/Releases/4 +translation_of: Mozilla/Firefox/Releases/4 +--- +
{{FirefoxSidebar}}

2010 年六月起進入 Beta 測試期的 Firefox 4,增進了效能、加強針對 HTML 5 及其他創新網際科技的支援程度,也更加安全。本文為網頁、附加元件、Gecko 平台開發者們提供這一版的簡要技術相關資訊。

+ +
+

{{ gecko_callout_heading("2") }}

+ +

Gecko 1.9.3 即將更名為 Gecko 2,但許多文件還沒有針對此點更新,在接下來的幾個星期中才會有所更動。

+
+ +

以下大部分的功能都已經可以在 逐日建置版中試用。

+ +
註:本文、以及本文所連結的其他文件仍持續編修中,很多文件的名稱只是暫定、有些主題的文件也可能會拆成幾份子文件以方便閱讀。中文團隊的目標將僅翻譯這份概覽,其他子文件則有待大家的幫忙。
+ +

Features for web developers

+ +

Gecko now uses the HTML5 parser, which fixes bugs, improves interoperability, and improves performance. It also lets content embed SVG and MathML directly in the HTML markup.

+ +

HTML

+ +
+
Introduction to the HTML5 parser
+
A look at what the HTML5 parser means to you, and how to embed SVG and MathML into your content inline.
+
Forms in HTML5
+
A look at improvements to web forms in HTML5.
+
HTML5 Sections
+
Gecko now supports the new HTML5 elements related to sections in a document: {{ HTMLElement("article") }}, {{ HTMLElement("section") }}, {{ HTMLElement("nav") }}, {{ HTMLElement("aside") }}, {{ HTMLElement("hgroup") }}, {{ HTMLElement("header") }} and {{ HTMLElement("footer") }}.
+
Other HTML5 elements
+
Gecko now also supports the following new HTML5 elements: {{ HTMLElement("mark") }}, {{ HTMLElement("figure") }} and  {{ HTMLElement("figcaption") }}.
+
WebSockets
+
A guide to using the new WebSockets API for real-time communication between a web application and a server.
+
+ +

Miscellaneous HTML changes

+ + + +

CSS

+ +
+
CSS transitions
+
New CSS transitions support is available in Firefox 4.
+
Computed values in CSS
+
Support for calc() to compute values in CSS is in progress. See {{ bug(363249) }}.
+
Selector grouping
+
Support for {{ cssxref(":-moz-any") }} to group selectors and factorize combinators.
+
Background image subrectangle support
+
The {{ cssxref("-moz-image-rect") }} property makes it possible to use subrectangles of images as a background image.
+
CSS touch properties
+
Support for touch properties is added. Details, and real article names, to come later.
+
Privacy and the :visited selector
+
Changes have been made to what information can be obtained about the style of visited links using CSS selectors. This may affect some web applications.
+
+ +

Miscellaneous CSS changes

+ + + +

Graphics and video

+ +
+
 
+
WebGL
+
The developing WebGL standard is now supported by Firefox.
+
Optimizing graphics performance
+
Tips and tricks for getting the most out of graphics and video performance in Firefox 4.
+
Support for WebM video
+
The new open WebM video format is supported by Gecko 1.9.3; support is included in nightlies as of 9 June.
+
Full screen API
+
Details coming soon.
+
SMIL animation
+
Support for SMIL animation of SVG is now available. See {{ bug(482402) }}.
+
Using SVG as images and as CSS backgrounds
+
You can now use SVG with the {{ htmlelement("img") }} element, as well as the background image in CSS. See {{ bug(272288) }}, {{ bug(276431) }} and {{ bug(231179) }}.
+
+ +

DOM

+ +
+
Obtaining boundary rectangles for ranges
+
The Range object now has getClientRects() and getBoundingClientRect() methods. See {{ bug(396392) }}.
+
Capturing mouse events on arbitrary elements
+
Support for the Internet Explorer-originated setCapture() and releaseCapture() APIs has been added. See {{ bug(503943) }}.
+
Manipulating the browser history
+
The existing document history object, available through the {{ domxref("window.history") }} object, now supports the new HTML5 pushState() and replaceState() methods.
+
Touch and multi-touch events
+
Support has been added for touch and multi-touch events.
+
IndexedDB
+
The proposed IndexedDB standard, which provides a local database store for web applications, will be supported by Firefox 4.
+
+ +

Miscellaneous DOM changes

+ + + +

Security

+ +
+
Introducing Content Security Policy
+
Content Security Policy (CSP) is a Mozilla proposal designed to help web designers and server administrators specify how content on their web sites interacts. The goal is to help detect and mitigate attacks including cross-site scripting and data injection attacks.
+
ForceTLS
+
Details soon.
+
The Account Manager
+
Details soon.
+
+ +

JavaScript

+ +

For an overview of the changes implemented in JavaScript 1.8.5, see New in JavaScript 1.8.5. JavaScript in Firefox 4 will have additional adherence to the ECMAScript 5 standard.

+ +

Changes for Mozilla and add-on developers

+ +

For helpful tips on updating existing extensions for Firefox 4, see Updating extensions for Firefox 4.

+ +

JavaScript code modules

+ +
+
Services.jsm
+
The Services.jsm code module provides getters that make it easy to obtain references to commonly-used services, such as the preferences service or the window mediator, among others.
+
+ +
+
JS-ctypes API
+
The JS-ctypes API makes it possible to call C-compatible foreign library functions without using XPCOM.
+
Add-ons Manager
+
The new Add-ons Manager provides information about installed add-ons, support for managing them, and provides ways to install and remove add-ons.
+
Loading code modules from chrome: URLs
+
You can now load JavaScript code modules using chrome: URLs, even inside JAR files.
+
+ +

DOM changes

+ +
+
{{ domxref("ChromeWorker") }}
+
A new type of worker for privileged code; this lets you use things like js-ctypes from workers in extensions and application code.
+
+ +

XUL

+ +

tabbrowser (gBrowser) changes

+ +

Several changes were made to the {{ XULElem("tabbrowser") }} element that impact extensions that interact with tabs.

+ + + +

Miscellaneous XUL changes

+ + + +

Storage

+ +

Miscellaneous storage API changes

+ + + +

XPCOM

+ +
+
XPCOM changes in Gecko 1.9.3
+
Details about changes to XPCOM that impact compatibility in Firefox 4.
+
Components.utils.getGlobalForObject()
+
This new method returns the global object with which an object is associated; this replaces a common use case of the now-removed __parent__.
+
+ +

Memory management

+ +
+
Infallible memory allocation
+
Mozilla now provides infallible memory allocators that are guaranteed not to return null. You should read this article to learn how they work and how to explicitly request fallible versus infallible memory allocation.
+
+ +

Other changes

+ +
+
Gopher support removed
+
The Gopher protocol is no longer supported natively. Continued support is available via the OverbiteFF extension.
+
Default plugin removed
+
The default plugin has been removed. The application plugins folder has also been removed by default, however support for installing plugins via this folder still exists. See bug 533891.
+
Extension Manager replaced with AddonManager
+
nsIExtensionManager has been replaced by AddonManager. Since there is apparently no way at present to obtain the install location from a given extension ID, the closest workaround is to use the directory service to find the profile directory and append "extensions" to it (though this approach will not catch extensions outside of the profile directory or those which are aliased to another location).
+
+ +

參考

+ + + +

{{ languages( { "en": "en/Firefox_4_for_developers", "de": "de/Firefox_4_fur_Entwickler", "ja": "ja/Firefox_4_for_developers"} ) }}

diff --git a/files/zh-tw/mozilla/firefox/releases/5/index.html b/files/zh-tw/mozilla/firefox/releases/5/index.html new file mode 100644 index 0000000000..cba3c4563b --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/5/index.html @@ -0,0 +1,165 @@ +--- +title: Firefox 5 技術文件 +slug: Mozilla/Firefox/Releases/5 +translation_of: Mozilla/Firefox/Releases/5 +--- +
{{FirefoxSidebar}}
+ +

Firefox 5,基於 Gecko 5.0,在 2011 年六月21日發行。本文將提供這次發行會對開發者所生影響之資訊。

+ +

網路開發者的改變

+ +

HTML

+ + + +

Canvas improvements

+ + + +

CSS

+ +
+
CSS animations
+
Support for CSS animations has been added, using the -moz- prefix for now.
+
+ +

DOM

+ + + +

JavaScript

+ + + +

SVG

+ + + +

HTTP

+ + + +

MathML

+ + + +

Developer tools

+ + + +

Changes for Mozilla and add-on developers

+ +

For a guide to updating your add-on for Firefox 5, please see Updating add-ons for Firefox 5.

+ +
Note: Firefox 5 requires that binary components be recompiled, as do all major releases of Firefox. See Binary Interfaces for details.
+ +

Changes to JavaScript code modules

+ +

New JavaScript code modules

+ + + +

NetUtil.jsm

+ + + +

Interface changes

+ + + +

New interfaces

+ + + +

Removed interfaces

+ +

The following interfaces were implementation details that are no longer needed:

+ + + +

Debugging aids

+ + + +

JavaScript API (SpiderMonkey)

+ + + +

Build system changes

+ + + +

See also

+ +
{{Firefox_for_developers('4')}}
diff --git a/files/zh-tw/mozilla/firefox/releases/6/index.html b/files/zh-tw/mozilla/firefox/releases/6/index.html new file mode 100644 index 0000000000..bd3141a249 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/6/index.html @@ -0,0 +1,291 @@ +--- +title: Firefox 6 技術文件 +slug: Mozilla/Firefox/Releases/6 +translation_of: Mozilla/Firefox/Releases/6 +--- +

Firefox 6, based on Gecko 6.0, was released on August 16, 2011. This article provides links to information about the changes that affect developers in this release.

+

Changes for web developers

+

HTML

+
+
+ +

CSS

+
+
+ -moz-text-decoration-color
+
+ This new property lets you set the color used by text decorations, such as underlines, overlines, and strikethroughs.
+
+ -moz-text-decoration-line
+
+ This new property lets you set the kind of text decorations added to an element.
+
+ -moz-text-decoration-style
+
+ This new property lets you set the style of text decorations, such as underlines, overlines, and strikethroughs. Styles include single-strokes, double strokes, wavy lines, dotted lines, and so forth.
+
+ -moz-hyphens
+
+ This new property lets you control how hyphenation of words during line wrapping is handled.
+
+ -moz-orient
+
+ A new (currently Mozilla-specific) property which lets you control the vertical or horizontal orientation of certain elements (particularly <progress>).
+
+ ::-moz-progress-bar
+
+ A Mozilla-specific pseudo-element that lets you style the area of an <progress> element representing the completed portion of a task.
+
+

Other changes

+ +

DOM

+
+
+ Using media queries from code
+
+ You can now test the result of a media query string programmatically using the window.matchMedia() method and the MediaQueryList interface.
+
+ Touch events
+
+ Firefox 6 adds support for W3C standard touch events; these make it easy to interpret one or more touches at a time on touch-sensitive surfaces such as touch screens and trackpads.
+
+ Server-sent events
+
+ Server-sent events make it possible for a web application to ask a server to send events just like any locally-created DOM event.
+
+ +

JavaScript

+ +

SVG

+ +

MathML

+ +

Accessibility (ARIA)

+ +

Networking

+
+
+ WebSockets
+
+ WebSockets was updated to protocol version 07 for Firefox 6. In addition, the global WebSocket object has been renamed to MozWebSocket to prevent it from incorrectly being used to detect the availability of unprefixed WebSockets.
+
+ +

Other changes

+ +

Changes for Mozilla and add-on developers

+

For an overview of the changes you may need to make in order to make your add-on compatible with Firefox 6, see Updating add-ons for Firefox 6.

+
+ Note: Firefox 6 requires that binary components be recompiled, as do all major releases of Firefox. See Binary Interfaces for details.
+

JavaScript code modules

+

FileUtils.jsm

+ +

XPCOMUtils.jsm

+ +

XPCOM

+ +

Using the DOM from chrome

+
+
+ Using the DOM File API in chrome code
+
+ Although you've always been able to use the DOM File API from chrome code, the File constructor now supports specifying a local pathname string when used from chrome. In addition, you can also specify the file to access using the DOM File API using an nsIFile object.
+
+

Interface changes

+ +

New interfaces

+
+
+ mozIAsyncFavicons
+
+ A new service that lets you access the favicon service asynchronously.
+
+ nsIEventSource
+
+ Details forthcoming.
+
+ nsIGSettingsCollection
+
+ Details forthcoming.
+
+ nsIGSettingsService
+
+ Details forthcoming.
+
+ nsIHttpUpgradeListener
+
+ The callback interface for handling HTTP upgrade requests via the nsIHttpChannelInternal.HTTPUpgrade() method.
+
+ nsIStructuredCloneContainer
+
+ A container for objects that have been serialized using the structured clone algorithm.
+
+ nsITelemetry
+
+ Implements telemetry support to allow recording of telemetry data to be used to present histograms for performance tracking purposes. See bug 649502 and bug 585196.
+
+ nsITimedChannel
+
+ See bug 576006.
+
+ nsIWebSocketListener
+
+ See bug 640003.
+
+ nsIWebSocketProtocol
+
+ See bug 640003.
+
+

Removed interfaces

+

The following interfaces were implementation details that are no longer needed:

+ +

Other changes

+
+
+ Using preferences from application code
+
+ A new static API is available for easily accessing preferences; this is only available to application code and can't be used by add-ons.
+
+

See also

+
+
diff --git a/files/zh-tw/mozilla/firefox/releases/61/index.html b/files/zh-tw/mozilla/firefox/releases/61/index.html new file mode 100644 index 0000000000..e0b9d26ae6 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/61/index.html @@ -0,0 +1,139 @@ +--- +title: Firefox 61 技術變動摘要 +slug: Mozilla/Firefox/Releases/61 +translation_of: Mozilla/Firefox/Releases/61 +--- +
{{FirefoxSidebar}}
{{draft}}
+ +

此文章提供 Firefox 61 中與開發者較為相關之變動資訊。Firefox 61 預定於 2018 年 6 月 26 日正式發表

+ +

Web 開發相關變動

+ +

開發者工具

+ +

無變動。

+ +

HTML

+ +

無變動。

+ +

CSS

+ +

無變動。

+ +

SVG

+ + + +

JavaScript

+ + + +

API

+ +

新 API

+ +

無變動。

+ +

DOM

+ + + +

DOM 事件

+ +

無變動。

+ +

Service workers

+ +

無變動。

+ +

Media 及 WebRTC

+ +

{{domxref("AudioContext.AudioContext", "AudioContext()")}} 建構式現在可以選擇性傳入一個 {{domxref("AudioContextOptions")}} 型態的 options 參數,用以調整新的 AudioContext 下偏好的延遲時間及取樣率。

+ +

Canvas 及 WebGL

+ +

無變動。

+ +

CSSOM

+ +

無變動。

+ +

HTTP

+ + + +

安全性

+ +

無變動。

+ +

外掛程式

+ +

無變動。

+ +

其他

+ +

無變動。

+ +

Web 平台中移除的項目

+ +

HTML

+ +

無變動。

+ +

CSS

+ +

無變動。

+ +

APIs

+ +

無變動。

+ +

SVG

+ + + +

其他

+ +

無變動。

+ +

附加元件及 Mozilla 軟體開發相關變動

+ +

WebExtensions

+ +

無變動。

+ +

請參見

+ + + +

舊版資訊

+ +

{{Firefox_for_developers(60)}}

+ +

 

diff --git a/files/zh-tw/mozilla/firefox/releases/68/index.html b/files/zh-tw/mozilla/firefox/releases/68/index.html new file mode 100644 index 0000000000..bd6a7e5008 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/68/index.html @@ -0,0 +1,240 @@ +--- +title: Firefox 68 for developers +slug: Mozilla/Firefox/Releases/68 +translation_of: Mozilla/Firefox/Releases/68 +--- +

{{FirefoxSidebar}}

+ +

This article provides information about the changes in Firefox 68 that will affect developers. Firefox 68 was released on July 9, 2019.

+ +

Changes for web developers

+ +

Developer tools

+ +

Browser/web console

+ + + +

JavaScript debugger

+ + + +

Network monitor

+ + + +

Page inspector

+ + + +

Storage inspector

+ + + +

Other

+ + + +

Removals

+ + + +

HTML

+ + + +

 Removals

+ + + +

CSS

+ + + +

Removals

+ + + +

SVG

+ +

No changes.

+ +

JavaScript

+ + + +

APIs

+ +

CSS Object Model (CSSOM)

+ + + +

DOM

+ + + +

DOM events

+ + + +

Media, Web Audio, and WebRTC

+ + + +

Removals

+ + + +

HTTP

+ + + +

Removals

+ + + +

Security

+ + + +

WebDriver conformance (Marionette)

+ +

Bug fixes

+ + + +

Other

+ + + +

Plugins

+ +

No changes.

+ +

Changes for add-on developers

+ +

API changes

+ + + +

Manifest changes

+ +

No changes.

+ +

See also

+ + + +

Older versions

+ +

{{Firefox_for_developers(67)}}

diff --git a/files/zh-tw/mozilla/firefox/releases/7/index.html b/files/zh-tw/mozilla/firefox/releases/7/index.html new file mode 100644 index 0000000000..3faf9bd904 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/7/index.html @@ -0,0 +1,189 @@ +--- +title: Firefox 7 技術文件 +slug: Mozilla/Firefox/Releases/7 +translation_of: Mozilla/Firefox/Releases/7 +--- +
{{FirefoxSidebar}}

Firefox 7 shipped on September 27, 2011. This article provides information about the changes that affect developers -- both of web content and of Firefox add-ons.

+

Changes for web developers

+

HTML

+ +

Canvas

+ +

CSS

+ +

MathML

+ +

DOM

+ +

JavaScript

+ +

WebSockets

+ +

console API

+ +
+

Web timing

+ +

XML

+ +
+

Changes for Mozilla and add-on developers

+

These changes affect add-on developers as well as developers working on or with Mozilla code itself. Add-on developers should see Updating extensions for Firefox 7 for additional information.

+
+ Note: Firefox 7 requires that binary components be recompiled, as do all major releases of Firefox. See Binary Interfaces for details.
+

JavaScript code modules

+

FileUtils.jsm

+ +

AddonManager.jsm

+ +

XUL

+ +

XPCOM

+ +

Memory reporters

+

Support has been added for multi-reporters; that is, memory reporters that gather data on request and call a callback for each generated result. See {{ interface("nsIMemoryMultiReporter") }} and {{ interface("nsIMemoryMultiReporterCallback") }} for the relevant interfaces, as well as the {{ ifmethod("nsIMemoryReporterManager", "registerMultiReporter") }} and {{ ifmethod("nsIMemoryReporterManager", "unregisterMultiReporter") }} methods.

+

User experience changes

+ +

Changes to the build system

+ +

Interface changes

+ +

New interfaces

+
+
+ {{ interface("nsIDOMFontFace") }}
+
+ Describes a single font face.
+
+ {{ interface("nsIDOMFontFaceList") }}
+
+ Describes a list of font faces, each represented by {{ interface("nsIDOMFontFace") }}.
+
+

Removed interfaces

+

The following interfaces were implementation details that are no longer needed:

+ +

The following interfaces were removed as part of the removal of the ActiveX embedding API:

+ +

Other Changes

+ +

See also

+
+ {{Firefox_for_developers('6')}}
diff --git a/files/zh-tw/mozilla/firefox/releases/8/index.html b/files/zh-tw/mozilla/firefox/releases/8/index.html new file mode 100644 index 0000000000..51ca78d6e7 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/8/index.html @@ -0,0 +1,259 @@ +--- +title: Firefox 8 技術文件 +slug: Mozilla/Firefox/Releases/8 +translation_of: Mozilla/Firefox/Releases/8 +--- +

Firefox 8 was released on November 8, 2011. This article provides information both for web developers and for add-on and Mozilla project developers to help take full advantage of the features of this release.

+ +

Changes for web developers

+ +

HTML

+ + + +

DOM

+ + + +

JavaScript

+ + + +

CSS

+ + + +

Network

+ + + +

WebSockets

+ + + +

WebGL

+ + + +

MathML

+ + + +

Developer tools

+ + + +

Changes for Mozilla and add-on developers

+ +

See Updating add-ons for Firefox 8 for a guide to changes you're likely to have to make to make your add-ons compatible with Firefox 8.

+ +
Note: Firefox 8 requires that binary components be recompiled, as do all major releases of Firefox. See Binary Interfaces for details.
+ +

XPCOM

+ +
+
Components.utils
+
The new methods Components.utils.createObjectIn() and Components.utils.makeObjectPropsNormal() have been created to make it easier to create objects in specific compartments.
+
+ + + + + +

Workers

+ +

It is no longer possible to access XPCOM objects from ChromeWorkers. XPConnect has been disabled in worker contexts as of bug 649537.

+ +

XUL

+ + + +

Changes to the build system

+ + + +

Chrome registration

+ + + +

Interface changes

+ + + +

Removed interfaces

+ +

The following interfaces were implementation details that are no longer needed:

+ + + +

The nsIWorkerFactory interface has been removed as well. Workers can still be created using the Worker and ChromeWorker constructors.

+ +

Other changes

+ + + +

See also

+ + diff --git a/files/zh-tw/mozilla/firefox/releases/9/index.html b/files/zh-tw/mozilla/firefox/releases/9/index.html new file mode 100644 index 0000000000..39e727c628 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/9/index.html @@ -0,0 +1,231 @@ +--- +title: Firefox 9 技術文件 +slug: Mozilla/Firefox/Releases/9 +translation_of: Mozilla/Firefox/Releases/9 +--- +
+ +

Firefox 9 was released for Windows on December 20, 2011. Mac and Linux version 9.0.1, which fixed a crashing bug discovered at the last minute, were released on December 21, 2011.

+ +

Changes for web developers

+ +

HTML

+ + + +

CSS

+ + + +

JavaScript

+ +

No change.

+ +

DOM

+ +
+
Using full-screen mode
+
The new full-screen API provides a way to present content using the entire screen, with no browser interface. This is great for video and games. This API is currently experimental and prefixed.
+
+ + + +

Workers

+ + + +

WebGL

+ + + +

MathML

+ + + +

Networking

+ + + +

Developer tools

+ + + +

Changes for Mozilla and add-on developers

+ +

See Updating add-ons for Firefox 9 for an overview of the changes you may need to make to get your add-ons working in Firefox 9.

+ +

XUL

+ + + +

JavaScript code module changes

+ + + +

Service changes

+ + + +

NSPR

+ + + +

Interface changes

+ +

Removed interfaces

+ + + +

Miscellaneous interface changes

+ + + +

IDL parser

+ +

The IDL parser no longer includes support for the never fully-implemented notion of unique pointers.

+ +

Build system changes

+ + + +

Other changes

+ + + +

See also

+ +
diff --git a/files/zh-tw/mozilla/firefox/releases/index.html b/files/zh-tw/mozilla/firefox/releases/index.html new file mode 100644 index 0000000000..6ef85761f2 --- /dev/null +++ b/files/zh-tw/mozilla/firefox/releases/index.html @@ -0,0 +1,12 @@ +--- +title: Firefox 各版本技術文件 +slug: Mozilla/Firefox/Releases +tags: + - Firefox + - NeedsTranslation + - TopicStub +translation_of: Mozilla/Firefox/Releases +--- +
{{FirefoxSidebar}}

這個頁面整合了 Firefox 每次釋出時的技術文件。這些文件讓您能夠清楚知道各個 Firefox 版本釋出時新增了哪些新功能及修正了哪些錯誤。

+
+ {{ListSubpages("",1,0,1)}}
-- cgit v1.2.3-54-g00ecf