(Recently Added - some support for reading OS and account settings.)
The UI is based on selecting a proxy mode, then filling out any additional needed information in "related" UI.
The "OK" button saves the preferences. The preference changes
All product's Proxy preference panels share a basic design: a radio button that selects the proxy mode, then "related proxy mode" UI when needed. For the purposes of this document, "proxy mode" means both:
network.proxy.type
.The currently available modes are based on "network.proxy.type".
For example, Firefox 3:
[ ] No Proxy [ ] Auto-detect proxy settings for this network [ ] Manual proxy configuration: [ ] Automatic proxy configuration URL:
Default value:
Only two proxy modes have related UI.
When a radio button is selected, the related UI elements are enabled (and editable). The previously selected radio button becomes unselected, and the related UI of the previous button is disabled (and is not editable).
The radio buttons do not map to the proxy type in order (due the evolution of the UI):
Proxy mode | "network.proxy.type" |
---|---|
No Proxy (direct) | network.proxy.type=0 |
Auto-detect proxy settings... (WPAD) | network.proxy.type=4 |
Manual proxy configuration (manual) | network.proxy.type=1 |
Automatic proxy configuration URL (PAC) | network.proxy.type=2 |
Manual allows the entry of a proxy server hostname name and server.
The entries are on a per-protocol basis for: HTTP, SSL (https), FTP, Gopher.
If configured, SOCKS is used as a default: If the protocol was proxyable and did not match any of the previous protocols), then use SOCKS.
The socks version is selected by radio buttons: ( ) SOCKS v4 ( ) SOCKS v5
Discussed in detail elsewhere... but should be noted that if you cut and paste from IE, the semi-colons are automatically converted to commas when you save changes (FF, TB, SM).
Supports a URL (which is checked via URIfixup) and a reload button.
Status bar on the right side.
A menu is displayed that has the following items:
Online (Proxy: None) Online (Proxy: Auto Discover) Online (Proxy: Auto URL) Online (Proxy: Manual) --- Proxy Configuration...
<h7 name="Details">Details</h7> The menu should display the current proxy mode with a dot. The modes that can have an empty configuration (Auto URL and Manual) will be disabled if the prefs are blank. Selecting an enabled item sets the menu selection and the proxy mode (network.proxy.type) Selecting a disabled item is not allowed. Selecting "Proxy Configuration..." opens the Preferences panel to "Advanced > Proxies"
(TBdescribed: changing the prefs values).
Unfiled bug: changing proxy mode does not update the menu.
Mouseover
When online, the tooltip will include the current proxy mode:
http://mxr.mozilla.org/seamonkey/sou...ityOverlay.xul
Bug 243624