(Perhaps it reaches into the Mozilla settings? Perhaps this just works in Mozilla when you have a proxy set up?
$ strings /etc/alternatives/mozilla-flashplugin | grep \\.proxy network.proxy.type network.proxy.http network.proxy.http_port network.proxy.ssl network.proxy.ssl_portHmm.)
In any case, it's actually even more trivial to set up a socks5 proxy via ssh and
LD_PRELOADover all the connection functions so no matter how the program connects, it gets your proxy.
sudo apt-get install tsocks(this is the preloader)
sudo vi /etc/tsocks.conf, remove the example block, and add in
server = 127.0.0.1 server_type = 5 server_port = 1080at the bottom in the defaults area
ssh -D 1080 box-in-america(or add a
DynamicForward 1080line to the appropriate stanza in your
tsocks firefox(I didn't try Chrome -- I was worried that our multiple processes and loaders would eat the
LD_PRELOAD, but actually all the network is done by the outermost process so it perhaps ought to work)
box-in-america-- ssh does the proxying implicitly. However, it seems perhaps slower than an HTTP proxy.