Starting Firefox with a temporary profile

I have been starting Firefox with temporary throwaway profiles (for research and testing purposes), and wrote this to make it a little faster. #!/usr/bin/env python3 from os import path from subprocess import run from sys import argv from tempfile import TemporaryDirectory # Script to run Firefox with a temporary profile. # Takes one optional argument, URL to open. # Reference #…