Declare Firefox extensions and settings

Does anybody know if it’s possible to configure tor-browser the same way?

For plugins; not recommended by Tor Project – Manual – Plugins but ${HOME}/.local/share/torbrowser/tbb/x86_64/tor-browser/Browser/TorBrowser/Data/Browser/profile.default/extensions/ and similar paths might be what ya wanna explore.

For profiles; totally possible! And checking via about:profiles confirms this path to be where profiles are, ${HOME}/.local/share/torbrowser/tbb/x86_64/tor-browser/Browser/TorBrowser/Data/Browser/profile.default

… likely the x86_64 bit will be different on other platforms, and MacOS is gonna for sure be different.


Edit; above paths be from Arch, I use Arch BTW™ too, and my NixOS device via pgrep -a tor showed there’s a ~/.tor\ project/ path that is involved with this application.

Edit o-one: the ~/.tor project/firefox/profiles.ini path on NixOS should contain something like;

[Profile0]
Name=default
IsRelative=1
Path=<ID>.default
Default=1

[General]
StartWithLastProfile=1
Version=2

… the <ID> of Profile<N>.Path is used as pointer into ~/.tor project/firefox/<ID>.default/ sub-directory, and that is likely where ya can find bits to configure for extensions and other things.

1 Like