proxy-switcher
proxy-switcher copied to clipboard
Wildcards/Netmasks for the proxy exceptions
Proxy Switcher (Firefox 57+) accepts a list of sites to use for "Direct:" connection. Unfortunately it currently doesn't support any wildcards or the support is not working. It would be nice to honor the same substring matching and network masks as it is usual for the core firefox.
Example from the Firefox (57) proxy configuration: .mozilla.org, .net.nz, 192.168.1.0/24
Righ now (version 0.1.8) this is not working:
-
when you put to direct field .example.com (or even .sub.example.com) it won't use the direct connection for host1.sub.example.com
-
when you put there as exception a range 127.0.0.0/24, connecting to 127.0.0.3:8080 will still go through proxy
Firefox does not support shExpMatch
at the moment! Hence I am using
https://gist.githubusercontent.com/ayanamist/2989518/raw/f51d898768824466bfc8762a57ff3729ce80e8a6/shExpMatch.js
when you put there as exception a range 127.0.0.0/24, connecting to 127.0.0.3:8080 will still go through proxy
Use 127.0.0.*
instead until the PAC script supports shExpMatch