Allows you to activate / deactivate system wide proxy configuration for windows (xp/7/ ??)
- no administrator access required (10 lines of code)
npm install node-web-proxy
var proxy = require('node-web-proxy');
if(false) proxy.disable(function(){
console.log("Proxy disabed");
});
proxy.enable("socks=127.0.0.1:8080", function(){
console.log("Proxy enabled");
});
R:\> ProxyToggle
R:\> ProxyToggle.exe http=127.0.0.1:8080
R:\> ProxyToggle.exe socks=127.0.0.1:8080