Changeset 24980 for lang/javascript/vimperator-plugins
- Timestamp:
- 11/27/08 00:25:18 (6 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/autoproxychanger.js
r24976 r24980 135 135 if (acmanager.length > 0) { 136 136 autocommands.add("LocationChange", '.*', 'js liberator.plugins.AutoProxyChanger.autoApplyProxy()'); 137 window.addEventListener("unload", function() applyProxyByName('default'), false);137 //window.addEventListener("unload", function() applyProxyByName('default'), false); 138 138 } 139 139 … … 207 207 bang: true, 208 208 completer: function(context, arg, special){ 209 context.title = ['Name','Usage'];210 var list = context.filter ? 211 proxy_settings.filter( function(el) this.test(el.name), new RegExp("^"+context.filter))212 : proxy_settings;213 context.completions = list.map( function(v) [v.name, v.usage] );209 context.title = ['Name','Usage']; 210 var list = context.filter ? 211 proxy_settings.filter( function(el) this.test(el.name), new RegExp("^"+context.filter)) 212 : proxy_settings; 213 context.completions = list.map( function(v) [v.name, v.usage] ); 214 214 } 215 215 });
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)