Automatically Configure Firefox's proxy settings.
Issue by Paul-E from Thu Jan 16 23:50:59 2014 Originally opened as https://github.com/UWNetworksLab/UProxy/issues/158
Proxy settings can be changed in preferences. Preferences can be manipulated in JS through nsIPrefService
Comment by scouttle from Wed Apr 16 16:35:52 2014
@Paul-E can you provide a little bit more detail here? (I take it Firefox handles proxy settings differently from how Chrome does?) Is this a ship-blocking issue (i.e., the product just won't work without it?), or something that will make the user experience better (to what extent)?
Comment by willscott from Wed Apr 16 16:46:02 2014
I would consider this ship-blocking - this is the ability to click the button and have firefox actually use uProxy. In chrome, there is a 'chrome.proxy' api allowing the browser to change whether connections are sent to a proxy or directly to the destination. In firefox, it appears that you would need to set the preference as Paul mentions above.
@willscott thanks for the context! Is there a pre-defined UI that needs to be enabled (or just navigated to?), or is this a UI that we have to design and build ourselves?
Alternatively, is there some documentation online about how this works that I could read up on for background?
I believe nsIPrefService gives programmatic access the the preferences a user can normally set by going to Edit > Preferences in their browser.
There is no UX work involved here, and the title is a misnomer - so changed. This refers to the UI component of uproxy being the piece of code that needs to do the work to change proxy settings. The functionality is invisible to the user.
--WIll
Done, we can now set Firefox SOCKS5 proxy settings