How do I configure Jaxer to use my proxy settings?

Much like any browser can be configured to route its network traffic through a proxy, so too Jaxer (starting with 0.9.1) can be set to work with a proxy. In fact, to do so, you just use the same preferences used by Firefox. To see a list of such preferences, launch Firefox and "browse" to about:config and look for network.proxy.* where you'll find network.proxy.type, network.proxy.http, network.proxy.http_port, and so on.

To set these, edit your local_jaxer/config.js and add the following lines: Of course, you may need to use different values or even different preferences. When you restart Jaxer, it should route traffic (e.g. when using Jaxer.Web.get(...)) through your proxy server.

Note that it's important to use the proper type for each preference, e.g. an integer for http_port and a string for the others. For networking-related preferences, refer to http://developer.mozilla.org/en/docs/Mozilla_Networking_Preferences for a list of options.