autoproxychanger

Description
setting proxyproxyの設定・自動切り替え
Latest version
0.1.3
Author
pekepeke
License

for 2.2
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.2/autoproxychanger.js
for 2.1
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.1/autoproxychanger.js
for 2.0
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.0/autoproxychanger.js
for 1.2
not supported
for Nightly
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/autoproxychanger.js

Usage

:proxy [setting_name]
set proxy setting to setting_name
:proxy!
set proxy setting to default setting
:toggleautoproxy
proxy autochanger on/off toggle
The proxy_settings is a string variable which can set on
vimperatorrc as following.
let autochanger_proxy_settings = "[{ name:'disable', usage: 'direct connection', proxy:{type:0} }]"
let autochanger_proxy_enabled = "true"
or your can set it using inline JavaScript.
liberator.globalVariables.autochanger_proxy_enabled = true;
liberator.globalVariables.autochanger_proxy_settings = [{
    name  : 'disable',
    usage : 'direct connection',
    proxy :{
      type      :0,
    },
  },{
    name  : 'http',
    usage : 'localhost proxy',
    proxy :{
      type      : 1,
      http      : 'localhost',
      http_port : 8080,
    },
    url   : /http:\/\/www.nicovideo.jp/,
    run   : 'java.exe',
    args  : ['C:\Personal\Apps\Internet\NicoCacheNl\NicoCache_nl.jar'],
  }];
EOM
back to index