Firefox alatt én eleve kikapcsolt javaval és flashblockkal járok az internetre és van egy profil amiben be van kapcsolva ha mégis kell. A profilokat nem is volt olyan egyszerű rugalmasan használni mint gondoltam, én a következő kis scripttel könnyítettem meg:
#!/bin/bash
P=$1
if [ -z "$1" ]; then
echo "$0 {profile_name} [url]"
exit 1
fi
if [ -n "$2" ]; then
URL="$2"
fi
if firefox -P $P -remote "ping()"; then
[ -z "$URL" ] && URL=about:blank
# https://bugzilla.mozilla.org/show_bug.cgi?id=478951
unset DESKTOP_STARTUP_ID
firefox -P $P -remote "openurl($URL)"
else
firefox -P $P -new-instance "$URL"
fi