Terminal commands to launch your preferred browser (or any app) in full-screen mode
npm install browse


browse
======
Launch apps in full-screen mode from the Terminal. Currently Mac OS X only, patches welcome.
Install
-------
Install Node.js, then run
``sh`
$ npm install -g browse
Usage
-----
Six convenience commands are installed:
sh
$ ca
`$3
To launch Chrome, run:
`sh
$ ch
`$3
To launch Firefox, run:
`sh
$ ff
`$3
To launch Safari, run:
`sh
$ sf
`$3
Run the command ccf (an applescript which sends the CMD+CTRL+f keystroke to the active application) following a regular open to switch it to full-screen mode:
`sh
$ open -a Calendar && ccf
`Should an app have an additional full-screen mode shortcutted by CMD+Shift+f (as Chrome does), use:
`sh
$ open -a "Google Chrome" && csf
`Tip. If an app is slow to load, give it chance to load fully by inserting a pause before running the keyboard shortcut:
`sh
$ ff http://www.rt.com && sleep 3 && csf
``