Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (10 sloc) 345 Bytes
#!/usr/bin/env bash
FIREFOX_HOME=$HOME/.mozilla/firefox
PROFILE_DIR=$FIREFOX_HOME/rtctest.profile
if [ -f ./firefox-prefs.js ]; then
rm -rf $PROFILE_DIR
mkdir -p $PROFILE_DIR
cp ./firefox-prefs.js $PROFILE_DIR/prefs.js
fi
# printf "{\n\"created\": $(date +%s%N | cut -b1-13)\n}" > $PROFILE_DIR/times.json
firefox -profile $PROFILE_DIR $@