Skip to content

repository-vault/proxytoggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy toggle

Allows you to activate / deactivate system wide proxy configuration for windows (xp/7/ ??)

  • no administrator access required (10 lines of code)

Usage (nodejs npm)

Install the module

npm install node-web-proxy

Example

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");
});

Usage (cli)

disable current proxy

R:\> ProxyToggle

Activate http proxy

R:\> ProxyToggle.exe http=127.0.0.1:8080

Activate socks proxy

R:\> ProxyToggle.exe socks=127.0.0.1:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published