Accept third-party cookies (Deprecated) 的登錄值 AcceptThirdParty電腦HKLM\Software\Policies\Mozilla\Firefox\Cookies
此語言沒有官方文字 (顯示英文原文)
- 原則 ID
- Cookies_AcceptThirdParty
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- Firefox 60 or later, Firefox 60 ESR or later
- 來源
- Mozilla Firefox Policy Templates (版本 8.3)
- 類別
- Mozilla › Firefox › Cookies
登錄
AcceptThirdParty
REG_SZ電腦使用者…\Software\Policies\Mozilla\Firefox\CookiesHKLM\Software\Policies\Mozilla\Firefox\Cookies 目前的機碼
HKCU\Software\Policies\Mozilla\Firefox\Cookies
HKCU\Software\Policies\Mozilla\Firefox\Cookies
- 啟用時的值
- 取決於選項值
- 元素
- -
| 項目 | 儲存的值 |
|---|---|
| Always | always |
| Never | never |
| From visited | from-visited |
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Cookies] ; 選項 (只使用其中一個) ; Always "AcceptThirdParty"="always" ; Never "AcceptThirdParty"="never" ; From visited "AcceptThirdParty"="from-visited"
CMD
:: 選項 (只使用其中一個) :: Always reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "AcceptThirdParty" /t REG_SZ /d "always" /f :: Never reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "AcceptThirdParty" /t REG_SZ /d "never" /f :: From visited reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "AcceptThirdParty" /t REG_SZ /d "from-visited" /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Force | Out-Null # 選項 (只使用其中一個) # Always New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'AcceptThirdParty' -PropertyType String -Value 'always' -Force | Out-Null # Never New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'AcceptThirdParty' -PropertyType String -Value 'never' -Force | Out-Null # From visited New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'AcceptThirdParty' -PropertyType String -Value 'from-visited' -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\Cookies] ; 選項 (只使用其中一個) ; Always "AcceptThirdParty"="always" ; Never "AcceptThirdParty"="never" ; From visited "AcceptThirdParty"="from-visited"
CMD
:: 選項 (只使用其中一個) :: Always reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "AcceptThirdParty" /t REG_SZ /d "always" /f :: Never reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "AcceptThirdParty" /t REG_SZ /d "never" /f :: From visited reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "AcceptThirdParty" /t REG_SZ /d "from-visited" /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Force | Out-Null # 選項 (只使用其中一個) # Always New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'AcceptThirdParty' -PropertyType String -Value 'always' -Force | Out-Null # Never New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'AcceptThirdParty' -PropertyType String -Value 'never' -Force | Out-Null # From visited New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'AcceptThirdParty' -PropertyType String -Value 'from-visited' -Force | Out-Null