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コンピューターユーザー
有効時の値
オプションの値に依存
要素
-
オプション
項目保存される値
Alwaysalways
Nevernever
From visitedfrom-visited
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; Always
"AcceptThirdParty"="always"
; Never
"AcceptThirdParty"="never"
; From visited
"AcceptThirdParty"="from-visited"
CMD
:: 選択項目 (1 つだけ使用)

:: 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

# 選択項目 (1 つだけ使用)
# 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]

; 選択項目 (1 つだけ使用)
; Always
"AcceptThirdParty"="always"
; Never
"AcceptThirdParty"="never"
; From visited
"AcceptThirdParty"="from-visited"
CMD
:: 選択項目 (1 つだけ使用)

:: 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

# 選択項目 (1 つだけ使用)
# 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