repository-vault / proxytoggle

12 stars 3 forks source link

Doesn't set firefox settings when set to 'No Proxy' or other options #1

Open samuel-allan opened 7 years ago

samuel-allan commented 7 years ago

Steps to reproduce

  1. Go to firefox settings (about:preferences > Advanced > Network > Connection > Settings...)
  2. Set option to 'No Proxy'
  3. Use ProxyToggle.exe

Expected Outcome To be able to set the proxy, or set the appropriate option, e.t.c. Possibly with a warning to the user

Outcome Nothing happens (firefox uses the browser without a proxy).

Possible fixes Editing the prefs.js file, possibly prompting a restart?

131 commented 7 years ago

Chrome & IE browser use system wide configuration (that i try to set in proxytoggle), it might be not so trivial to find the "current user" (??) , "defaut profile" (??) prefs.js (e.g. right now, i'm using a portable edition of firefox , with multiple profiles (!) ). Yet, i'm willing to give a try

samuel-allan commented 7 years ago

The best approach would probably be to find the '....default...' directory, and change the file in there. The problem that keeps bothering me though is that this does not set the proxy on the fly :(

Also: Take a look at how Titanium.Web.Proxy manages to do that: Firefox.cs Class