Accept third-party cookies (Deprecated): registry value AcceptThirdPartyUserHKCU\Software\Policies\Mozilla\Firefox\Cookies
- Policy ID
- Cookies_AcceptThirdParty
- Scope
- Computer Configuration, User Configuration
- Supported on
- Firefox 60 or later, Firefox 60 ESR or later
- Source
- Mozilla Firefox Policy Templates (version 8.3)
- Category
- Mozilla › Firefox › Cookies
Registry
AcceptThirdParty
REG_SZUserComputer…\Software\Policies\Mozilla\Firefox\CookiesHKCU\Software\Policies\Mozilla\Firefox\Cookies Current key
HKLM\Software\Policies\Mozilla\Firefox\Cookies
HKLM\Software\Policies\Mozilla\Firefox\Cookies
- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Always | always |
| Never | never |
| From visited | from-visited |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\Cookies] ; Options (use only one) ; Always "AcceptThirdParty"="always" ; Never "AcceptThirdParty"="never" ; From visited "AcceptThirdParty"="from-visited"
CMD
:: Options (use only one) :: 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
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Force | Out-Null # Options (use only one) # 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
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Cookies] ; Options (use only one) ; Always "AcceptThirdParty"="always" ; Never "AcceptThirdParty"="never" ; From visited "AcceptThirdParty"="from-visited"
CMD
:: Options (use only one) :: 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
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Force | Out-Null # Options (use only one) # 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