alwaysInBeta Stable software is for the weak

ff

The ff script is a wrapper for Firefox. It runs firefox in a jail using firejail, and uses dmenu to select a profile (not pretty, but functional enough; I mostly wanted to type to select).

#!/bin/sh
# Runs firefox, in a jail, using dmenu to select a profile
# By Brian Cole, 2016-01-16
# version 1.1, 2016-02-17, fixes bugs and sorts profiles (case-insensitive)

#set -x
set -e

PPATH="$HOME/.mozilla/firefox"
cd "$PPATH"

PROFILE="$(ls -1 | sort -f | dmenu -i)"
#PROFILE="$(ls -1 | dmenu -i)"

echo Looking at $PROFILE
if test $PROFILE = 'profiles.ini'
then
        firejail firefox --no-remote --ProfileManager
else
        firejail firefox  --no-remote --profile "$PPATH/$PROFILE"
fi

Room for improvement

Minimal, for my use cases. I should add an option for different firefox binaries, since I sometimes use a prefix install or want to use the developer edition.