Skip to content
Lightweight remote control for Unix Firefox
Branch: master
Clone or download
siebenmann There's no need to set log output to os.Stderr; that's the default
Explicitly setting the default log output to os.Stderr is unnecessary
because that's already the log package's default. I didn't bother
looking this up when I wrote the code originally, which is bad of me.
Latest commit b936fe9 Oct 24, 2014
Type Name Latest commit message Commit time
Failed to load latest commit information.
main.go There's no need to set log output to os.Stderr; that's the default Oct 24, 2014


== ffox-remote: lightweight remote control for Unix Firefox

A running Firefox can be remotely controlled to do things like open new
URLs; the mechanisms for this are platform dependent. Normal people
do this by running Firefox again, for example on the command line by
running 'firefox NEW-URL', but it turns out that this has a number of
drawbacks (including requiring Firefox itself to start up, which is not
necessarily fast).

ffox-remote is a (Go) program that speaks Firefox's remote control
protocol on Unix/X. More specifically it speaks the newer and more arcane
remote control protocol, instead of the older and simpler protocol that
was used to implement Firefox's '-remote' command line argument and
which a number of additional tools can use. A program to speak the new
protocol has become necessary because Mozilla has now removed support
for the old protocol from Firefox Nightly.

Because the remote control protocol works via X properties, you can remote
control a running Firefox from a remote machine through things like X
forwarding. Because ffox-remote is pure Go code, it can be cross-compiled
for lightweight environments where you don't necessarily want to install
or build Firefox.

(ffox-remote uses Andrew Gallant's X Go Binding packages for the actual
X protocol communication, and .)

For usage information and more discussion, see the comments at the
start of main.go; this can just be godoc'd. In online form, see:
You can’t perform that action at this time.