Skip to content

Instantly share code, notes, and snippets.

@Marin-Kitagawa
Created February 1, 2026 01:15
Show Gist options
  • Select an option

  • Save Marin-Kitagawa/5bd946d3583e7e57123317e51a8be494 to your computer and use it in GitHub Desktop.

Select an option

Save Marin-Kitagawa/5bd946d3583e7e57123317e51a8be494 to your computer and use it in GitHub Desktop.
`pwsh`/Powershell script to fix Brave (including nightly) freezing/crashing when using vertical tabs on startup and on use
# Requires `jq`
# For installing `jq`
winget install jqlang.jq
$file = "$env:LOCALAPPDATA\BraveSoftware\Brave-Browser-Nightly\User Data\Default\Preferences"
$tmp = "$env:USERPROFILE\Preferences.tmp"
jq '.brave.tabs.vertical_tabs_enabled=false' $file > $tmp && mv -Force $tmp $file
# You can enable vertical tabs once you're in. Now, it won't freeze or crash
# Testing
echo $(jq .brave.tabs.vertical_tabs_enabled $file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment