舊文件

此處文件僅供參考,請自行考量時效性與適用程度,其他庫藏文件請參考文件頁面
我們亟需您的協助,進行共筆系統搬移、及文件整理工作,詳情請查閱參與我們

「以 Windows 登錄碼安裝擴充套件」修訂間的差異

出自 MozTW Wiki

 
簡介
行 5: 行 5:
 
== 簡介 ==
 
== 簡介 ==
  
This document explains how to "install" Firefox and Thunderbird [[extension]]s using the Windows Registry.  This mechanism is designed to make it easier for third-party installers to register extensions with Firefox and Thunderbird.
+
本文演示以 Windows 登錄碼 (Registry)「安裝」Firefox/Thunderbird 擴充套件的方法。此功能可以方便協力廠商的程式為 Firefox Thunderbird 安裝套件。
  
'''Note''' The mechanism described in this document requires Firefox/Thunderbird 1.5 or later.
+
'''注意''' 本文所描述的功能只在 Firefox/Thunderbird 1.5 以上版本有用。
  
 
== 安裝 ==
 
== 安裝 ==

於 2005年10月7日 (五) 12:09 的修訂

這篇文章說明 Firefox/Thunderbird 1.5 中新功能--以登錄碼安裝擴充套件的方法,學會本招有助於部屬 Fx/Tb。本文編譯自 Adding Extensions using the Windows Registry,在 devmo 有正體中文版時可能會移過去。

編譯開始--BobChao 04:37 2005年十月7日 (CST)

簡介

本文演示以 Windows 登錄碼 (Registry)「安裝」Firefox/Thunderbird 擴充套件的方法。此功能可以方便協力廠商的程式為 Firefox 或 Thunderbird 安裝套件。

注意 本文所描述的功能只在 Firefox/Thunderbird 1.5 以上版本有用。

安裝

Installation is performed by writing a Registry entry under one of the following keys:

HKEY_CURRENT_USER\Software\Mozilla\Firefox\Extensions
HKEY_LOCAL_MACHINE\Software\Mozilla\Firefox\Extensions

For Thunderbird, replace Firefox with Thunderbird.

The ID of the extension must be used as the name of the Registry entry. The Registry entry must have a type of REG_SZ, and its value must be an absolute path to the folder containing the extension. For example, to install the extension described here, create a Registry entry with name equal to sample@foo.net and value equal to c:\extensions\myExtension.

After the Registry entry is created, Firefox/Thunderbird will notice the change the next time it is launched. It is safe to modify the Registry keys while Firefox/Thunderbird is running.

If the same extension appears under both HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE, then the instance under HKEY_CURRENT_USER will be used. If the same extension appears in the user's profile directory (via manual install), then it will take precedence over any instances found in the Registry.

移除

Extensions installed using the Windows Registry may be uninstalled by simply removing their corresponding Registry entry. After the Registry entry is removed, Firefox/Thunderbird will notice the change the next time it is launched. It is safe to modify the Registry keys while Firefox/Thunderbird is running.

請參照

Extension Packaging

個人工具