[Conkeror] Error when running custom command

foss[ilized] fosslistmail at googlemail.com
Sun May 31 07:49:18 PDT 2009


On 5/26/09, Ramkumar R <artagnon at gmail.com> wrote:

Thanks for the sample script!

> Just write your own script to do it. Have a look at mine if you like.
> It's specific to the proxies I have in my institute, but you can
> modify it according to your needs.

// Begin code fragment
function switch_proxy (window, server_code) {
     switch(server_code) {
     case "x": server = "x.x.x.x"; break;
//End code fragment

Mostly I modified it to reflect my need to specify both server and
port. At the moment, the port is more important since I'm running
local web filtering proxies like privoxy and bfilter:

// Begin code fragment
case "P" : server = "127.0.0.1" ; port = 8118 ; break;
// End code fragment


More information about the Conkeror mailing list