diff options
Diffstat (limited to 'files/zh-tw/mozilla/adding_phishing_protection_data_providers/index.html')
-rw-r--r-- | files/zh-tw/mozilla/adding_phishing_protection_data_providers/index.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/files/zh-tw/mozilla/adding_phishing_protection_data_providers/index.html b/files/zh-tw/mozilla/adding_phishing_protection_data_providers/index.html new file mode 100644 index 0000000000..14b56484b5 --- /dev/null +++ b/files/zh-tw/mozilla/adding_phishing_protection_data_providers/index.html @@ -0,0 +1,66 @@ +--- +title: 新增偽造網站清單來源 +slug: Mozilla/Adding_phishing_protection_data_providers +tags: + - 待翻譯 +translation_of: Mozilla/Adding_phishing_protection_data_providers +--- +<p>詐騙網站偵測技術讓 Firefox 能將當前網頁與黑名單兩相比對,藉此得知此網站是否為詐騙網站,並於確認後提醒使用者。</p> + +<h2 id=".E5.AE.89.E8.A3.9D.E6.96.B0.E8.B3.87.E6.96.99.E4.BE.86.E6.BA.90" name=".E5.AE.89.E8.A3.9D.E6.96.B0.E8.B3.87.E6.96.99.E4.BE.86.E6.BA.90">安裝新資料來源</h2> + +<p>要安裝詐騙網站清單的資料來源,必須調整一些相關設定,以便提供資料來源的細節。</p> + +<p>每個資料來源都有其獨一無二的 ID 號碼,而 ID 號碼為 0 者即是 Firefox 出廠時的預設資料來源。當安裝新的資料來源時,你應該指定另一個未使用的號碼。</p> + +<p>要知道哪些號碼能用,必須以迴圈循序取出設定值,例如先是 <code>browser.safebrowsing.provider.0.name</code>、而後為<code>browser.safebrowsing.provider.1.name</code>,以此類推。當取值時無傳回內容,代表這個數字可以用。</p> + +<p>你可以從<a href="zh_tw/%e7%82%ba%e6%93%b4%e5%85%85%e5%a5%97%e4%bb%b6%e6%96%b0%e5%a2%9e%e5%81%8f%e5%a5%bd%e8%a8%ad%e5%ae%9a">為擴充套件新增偏好設定</a>文章中找到讀寫設定值的相關範例。</p> + +<h3 id=".E5.BF.85.E5.82.99.E8.A8.AD.E5.AE.9A" name=".E5.BF.85.E5.82.99.E8.A8.AD.E5.AE.9A">必備設定</h3> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.name</code></dt> + <dd>資料來源的名稱,讓使用者方便識別。</dd> +</dl> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.keyURL</code></dt> + <dd>用來為其他要求編碼的私鑰 URL。</dd> +</dl> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.lookupURL</code></dt> + <dd>The URL to use to look up URLs to see if they're blacklisted. This request must be encrypted using the private key returned by the <code>keyURL</code> request.</dd> +</dl> + +<h3 id=".E9.81.B8.E7.94.A8.E8.A8.AD.E5.AE.9A" name=".E9.81.B8.E7.94.A8.E8.A8.AD.E5.AE.9A">選用設定</h3> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.reportURL</code></dt> + <dd>An URL used for reporting when users visit phishing pages and whether or not they decided to heed the warning or to ignore it.</dd> +</dl> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.updateURL</code></dt> + <dd>An URL used to request an updated list of phishing sites. The server either provides a full list or incremental updates in order to bring the client's tables up to date.</dd> +</dl> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.reportGenericURL</code></dt> + <dd>Not currently used; intended for use in reporting other issues with the phishing protection service.</dd> +</dl> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.reportErrorURL</code></dt> + <dd>An URL to which the user is directed in order to report a safe page that is incorrectly being reported as a phishing site.</dd> +</dl> + +<dl> + <dt><code>browser.safebrowsing.provider.<em>idnum</em>.reportPhishURL</code></dt> + <dd>An URL to which the user is directed in order to report a phishing site that isn't detected by the phishing protection system.</dd> +</dl> + +<h2 id="Determining_the_currently-selected_data_provider" name="Determining_the_currently-selected_data_provider">Determining the currently-selected data provider</h2> + +<p>If you need to determine the ID number of the currently selected anti-phishing data provider, you can look at the current value of the preference <code>browser.safebrowsing.dataProvider</code>.</p> |