Tracking Protection Mode 的登錄值 Category使用者HKCU\Software\Policies\Mozilla\Firefox\EnableTrackingProtection

此語言沒有官方文字 (顯示英文原文)

原則 ID
G_TrackingProtection_Category
適用範圍
電腦設定、使用者設定
支援的作業系統
Firefox 142 or later, Firefox 140.2 ESR or later
來源
Mozilla Firefox Policy Templates (版本 8.3)
類別
Mozilla › Firefox › Tracking Protection

登錄

Category

REG_SZ使用者電腦
啟用時的值
取決於選項值
元素
-
選項
項目儲存的值
Strictstrict
Standardstandard
以 .reg · CMD · PowerShell 套用
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\EnableTrackingProtection]

; 選項 (只使用其中一個)
; Strict
"Category"="strict"
; Standard
"Category"="standard"
CMD
:: 選項 (只使用其中一個)

:: Strict
reg add "HKCU\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "strict" /f
:: Standard
reg add "HKCU\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "standard" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Force | Out-Null

# 選項 (只使用其中一個)
# Strict
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'strict' -Force | Out-Null
# Standard
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'standard' -Force | Out-Null
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\EnableTrackingProtection]

; 選項 (只使用其中一個)
; Strict
"Category"="strict"
; Standard
"Category"="standard"
CMD
:: 選項 (只使用其中一個)

:: Strict
reg add "HKLM\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "strict" /f
:: Standard
reg add "HKLM\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "standard" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Force | Out-Null

# 選項 (只使用其中一個)
# Strict
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'strict' -Force | Out-Null
# Standard
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'standard' -Force | Out-Null