Cookie Behavior in private browsing: valor do Registro BehaviorPrivateBrowsingComputadorHKLM\Software\Policies\Mozilla\Firefox\Cookies

Sem descrição oficial em português (Brasil) (original em inglês exibido)

ID da política
Cookies_BehaviorPrivateBrowsing
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Firefox 95 or later, Firefox 91.4 ESR or later
Fonte
Mozilla Firefox Policy Templates (versão 8.3)
Categoria
Mozilla › Firefox › Cookies

Registro

BehaviorPrivateBrowsing

REG_SZComputadorUsuário
Valor habilitado
Depende do valor da opção
Elemento
-
Opções
ItemValor armazenado
Accept all cookiesaccept
Reject third party cookiesreject-foreign
Reject all cookiesreject
Reject third party cookies for sites you haven't visitedlimit-foreign
Reject cookies for known trackersreject-tracker
Partition third-party cookies (Total Cookie Protection)partition-foreign
Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)reject-tracker-and-partition-foreign
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Accept all cookies
"BehaviorPrivateBrowsing"="accept"
; Reject third party cookies
"BehaviorPrivateBrowsing"="reject-foreign"
; Reject all cookies
"BehaviorPrivateBrowsing"="reject"
; Reject third party cookies for sites you haven't visited
"BehaviorPrivateBrowsing"="limit-foreign"
; Reject cookies for known trackers
"BehaviorPrivateBrowsing"="reject-tracker"
; Partition third-party cookies (Total Cookie Protection)
"BehaviorPrivateBrowsing"="partition-foreign"
; Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)
"BehaviorPrivateBrowsing"="reject-tracker-and-partition-foreign"
CMD
:: Opções (use apenas uma)

:: Accept all cookies
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "accept" /f
:: Reject third party cookies
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject-foreign" /f
:: Reject all cookies
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject" /f
:: Reject third party cookies for sites you haven't visited
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "limit-foreign" /f
:: Reject cookies for known trackers
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject-tracker" /f
:: Partition third-party cookies (Total Cookie Protection)
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "partition-foreign" /f
:: Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)
reg add "HKLM\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject-tracker-and-partition-foreign" /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Force | Out-Null

# Opções (use apenas uma)
# Accept all cookies
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'accept' -Force | Out-Null
# Reject third party cookies
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject-foreign' -Force | Out-Null
# Reject all cookies
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject' -Force | Out-Null
# Reject third party cookies for sites you haven't visited
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'limit-foreign' -Force | Out-Null
# Reject cookies for known trackers
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject-tracker' -Force | Out-Null
# Partition third-party cookies (Total Cookie Protection)
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'partition-foreign' -Force | Out-Null
# Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject-tracker-and-partition-foreign' -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Accept all cookies
"BehaviorPrivateBrowsing"="accept"
; Reject third party cookies
"BehaviorPrivateBrowsing"="reject-foreign"
; Reject all cookies
"BehaviorPrivateBrowsing"="reject"
; Reject third party cookies for sites you haven't visited
"BehaviorPrivateBrowsing"="limit-foreign"
; Reject cookies for known trackers
"BehaviorPrivateBrowsing"="reject-tracker"
; Partition third-party cookies (Total Cookie Protection)
"BehaviorPrivateBrowsing"="partition-foreign"
; Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)
"BehaviorPrivateBrowsing"="reject-tracker-and-partition-foreign"
CMD
:: Opções (use apenas uma)

:: Accept all cookies
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "accept" /f
:: Reject third party cookies
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject-foreign" /f
:: Reject all cookies
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject" /f
:: Reject third party cookies for sites you haven't visited
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "limit-foreign" /f
:: Reject cookies for known trackers
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject-tracker" /f
:: Partition third-party cookies (Total Cookie Protection)
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "partition-foreign" /f
:: Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)
reg add "HKCU\Software\Policies\Mozilla\Firefox\Cookies" /v "BehaviorPrivateBrowsing" /t REG_SZ /d "reject-tracker-and-partition-foreign" /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Force | Out-Null

# Opções (use apenas uma)
# Accept all cookies
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'accept' -Force | Out-Null
# Reject third party cookies
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject-foreign' -Force | Out-Null
# Reject all cookies
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject' -Force | Out-Null
# Reject third party cookies for sites you haven't visited
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'limit-foreign' -Force | Out-Null
# Reject cookies for known trackers
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject-tracker' -Force | Out-Null
# Partition third-party cookies (Total Cookie Protection)
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'partition-foreign' -Force | Out-Null
# Reject cookies for known trackers and partition third-party cookies (Deprecated - use Partition third-party cookies)
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Cookies' -Name 'BehaviorPrivateBrowsing' -PropertyType String -Value 'reject-tracker-and-partition-foreign' -Force | Out-Null