Vimperator/plugin/proxy.js
proxy.js
プラグイン内部にプロクシの設定を複数書いておく事で、コマンド一発で簡単に複数のプロクシ設定を変更できるようになるプラグイン。
ダウンロード
Firefox3(vimperator-0.6pre)
proxy.js-0.6.1
proxy.js-0.6.1では、設定の書き込みにliberator.options.setPrefを使うようになり、network.proxy以下を自由に設定できるようになりました。また、設定毎に設定の説明を追加できるconf_usageが追加され、completerでの一覧参照時に設定を把握しやすくなりました。
proxy.js-rev8610
proxy-0.6.0
Firefox2(vimperator-0.5.*)
設定の書き方(proxy-0.6.1の場合)
proxy-0.6.1からは、proxy_settingsがより簡単に書けるようになっており、conf_usageという設定に関する説明を追加できるようになりました。ラベルのnetwork.proxyという共通部分を入力しなくてよくなりました。 以下はpolipoを利用する場合の設定です。
{
conf_name: 'polipo',
conf_usage: 'use polipo cache proxy',
setting: [
{
label: 'type',
param: 1
},
{
label: 'http',
param: 'localhost'
},
{
label: 'http_port',
param: 8123
}
]
}
設定の書き方(proxy-0.6.0の場合)
proxy_settingに以下のような感じで追加していきます。
{
conf_name: '設定の名前',
setting: [
{
label: 'network.proxy.type',
param: 1 // ここはお約束
},
{
label: 'network.proxy.http',
param: 'localhost' // 接続先ホスト
},
{
label: 'network.proxy.http_port',
param: 8080 // 接続先ポート
}
]
},
labelについて
proxy_settingには以下のlabelが設定できるようになっています。
- network.proxy.type
- network.proxy.http
- network.proxy.http_port
- network.proxy.ssl_port
- network.proxy.ssl
- network.proxy.no_proxies_on
- network.proxy.autoconfig_url
- network.proxy.socks
関連ページ
- Vimperator/plugin
- Vimperator/plugin/autoIgnoreKey.js
- Vimperator/plugin/caretBrowse.js
- Vimperator/plugin/commandBookmarklet.js
- Vimperator/plugin/copy.js
- Vimperator/plugin/direct_bookmark.js
- Vimperator/plugin/eijiro.js
- Vimperator/plugin/encodingSwitcher.js
- Vimperator/plugin/feedSomeKeys.js
- Vimperator/plugin/gvimail.js
- Vimperator/plugin/ldrize_cooperation.js
- Vimperator/plugin/lookupDictionary.js
- Vimperator/plugin/proxy.js
- Vimperator/plugin/stylechanger.js
- Vimperator/plugin/toggleHighlight.js
- Vimperator/plugin/toggleToolbar.js
- Vimperator/plugin/walk-input.js
