[ale] Facebook photo uploader and Firefox

Chris Fowler cfowler at outpostsentinel.com
Thu Apr 15 19:24:38 EDT 2010


On Thu, 2010-04-15 at 18:28 -0400, rs at ale.spam.futz.org wrote:

> I do that.. I actually have man instances...  First set up the profiles
> you want. This script can start a separate browser for each... I think the
> secret is the MOZ_NO_REMOTE setting.
> 
> ------ ~/bin/ff ------
> export MOZ_NO_REMOTE=1
> 
> if [ "x$1" = "x-d" ]; then
>    DEBUG="-d gdb"
>    shift
> else
>    DEBUG=""
> fi
> 
> case $1 in
>  # no adblocking/noscript, set to not save history/cache/cookies
>  d*) PROFILE=dummy ;;  
> 
>  # bookmarks for finance sites
>  f*) PROFILE=finance ;;
> 
>  # social network sites
>  n*) PROFILE=networking ;;
> 
>  # work related sites
>  w*) PROFILE=work ;;
> 
>  # default for normal browsing, with adblock/noscript etc.
>  *) PROFILE=me ;;
> esac
> 
> cd ~
> 
> if [ -z "$DEBUG" ]; then
>    nohup /usr/bin/firefox -P $PROFILE &
> else
>    /usr/bin/firefox $DEBUG -P $PROFILE
> fi
> ------ end ------

This works great!  Thanks.




More information about the Ale mailing list