Location

User scope

Linux:

~/.mozilla/firefox/*.default[-release]

(for basename, ref ~/.mozilla/firefox/profiles.ini)

Windows:

$env:APPDATA/firefox/Profiles/*.default