FoxyProxy

ProxyConfig Object

Holds the state of one proxy configuration. There are at least one of these contained by the ProxyConfigs object.

Properties

id

NameTypeDescriptionSinceRequires
idLongGets the unqiue id of this ProxyConfig. Read-only.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

name

NameTypeDescriptionSinceRequires
nameStringGets/sets the name of this ProxyConfig.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

notes

NameTypeDescriptionSinceRequires
notesStringGets/sets the notes associated with this ProxyConfig.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

color

NameTypeDescriptionSinceRequires
colorStringGets/sets the HTML hex color code the FoxyProxy icon uses when this ProxyConfig is used to load a URL.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

mode

NameTypeDescriptionSinceRequires
modeStringGets/sets the current mode of this ProxyConfig. Acceptable values are direct, manual, system, and auto. Direct means use no proxy. Manual means use the proxy server specified in the manualConfig settings (host, port, username, password, NTLM domain, socks/no socks, etc). Auto means use the PAC file or WPAD specified in autoConfig. System means use the operating system-defined proxy settings.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

enabled

NameTypeDescriptionSinceRequires
enabledBooleanEnables/disables use of this ProxyConfig. Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

selectedTabIndex

NameTypeDescriptionSinceRequires
selectedTabIndexIntegerGets/sets the currently selected tab in the Add/Edit Proxy Configuration window for this ProxyConfig. The value is zero-indexed. Valid values are 0 (General Tab), 1 (Proxy Details Tab), 2 (URL Patterns Tab) for Basic and Standard and 0, 1, 2, 3 (IP Patterns Tab) for FoxyProxy Plus. Note that the Default proxy configuration only has two tabs: 0 and 1.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

animatedIcons

NameTypeDescriptionSinceRequires
animatedIconsBooleanGets/sets whether the FoxyProxy icon is animated when this ProxyConfig is in use. This corresponds to the checkbox on the General Tab named "Animate icons when this proxy is in use". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

includeInCycle

NameTypeDescriptionSinceRequires
includeInCycleBooleanGets/sets whether the FoxyProxy icon is animated when this ProxyConfig is in use. This corresponds to the checkbox on the General Tab named "Include this proxy when cycling proxies by clicking on the statusbar or toolbar (Global Settings->Statusbar/Toolbar- Activation->Cycle through modes must be selected)". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

clearCacheBeforeUse

NameTypeDescriptionSinceRequires
clearCacheBeforeUseBooleanGets/sets whether the application (typically a browser) cache is cleared everytime before this ProxyConfig is used. This corresponds to the checkbox on the General Tab named "Clear application cache before using this proxy". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

disableCache

NameTypeDescriptionSinceRequires
disableCacheBooleanGets/sets whether the application (typically a browser) cache is disabled everytime before this ProxyConfig is used. This corresponds to the checkbox on the General Tab named "Do not cache while using this proxy". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

clearCookiesBeforeUse

NameTypeDescriptionSinceRequires
clearCookiesBeforeUseBooleanGets/sets whether all cookies are deleted everytime before this ProxyConfig is used. This corresponds to the checkbox on the General Tab named "Remove all cookies before using this proxy". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

rejectCookies

NameTypeDescriptionSinceRequires
rejectCookiesBooleanGets/sets whether all cookies are blocked everytime before this ProxyConfig is used. This corresponds to the checkbox on the General Tab named "Block all cookies when using this proxy". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

proxyDNS

NameTypeDescriptionSinceRequires
proxyDNSBooleanGets/sets whether DNS lookups are resolved using this proxy when this ProxyConfig is in use. Note that only SOCKS 4a and SOCKS 5 proxy servers support DNS lookups. This setting corresponds to the checkbox on the General Tab named "Perform remote DNS lookups on hostnames loading through this proxy". Acceptable values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

manualConfig

NameTypeDescriptionSinceRequires
manualConfigObjectGets the object representing a Manual Proxy Configuration. Corresponds to the collection of properties on the Proxy Details tab under "Manual Proxy Configuration" (host/ip address, port, username, password, NTLM domain, SOCKS proxy, etc).Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

host

NameTypeDescriptionSinceRequires
hostStringGets/sets the host name or IP address.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

port

NameTypeDescriptionSinceRequires
portString or IntegerGets/sets the portBasic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

socks

NameTypeDescriptionSinceRequires
socksBooleanGets/sets whether the proxy server at the specified host:port is a SOCKS server. If false, the proxy server is assumed to be an HTTP(S) proxy server.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

socksversion

NameTypeDescriptionSinceRequires
socksversionStringGets/sets the version of the SOCKS server at the specified host:port. Valid values are "5" and "4". If "4" is specified, the server is assumed to be version "4a". If something other than "5" or "4" is specified, the server is assumed to be version 4a.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

autoConfig

NameTypeDescriptionSinceRequires
autoConfigObjectGets the object representing an Automatic Proxy Configuration -- a PAC or WPAD. Corresponds to the collection of properties on the Proxy Details tab under "Automatic Proxy Configuration" (by WPAD, by PAC, Automatic proxy configuration url, Detect proxy settings automatically every X minutes, etc).Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

mode

NameTypeDescriptionSinceRequires
modeStringGets/sets whether this autoConfig uses WPAD or PAC settings. If WPAD, the URL is hard-coded to http://wpad/wpad.dat for security reasons. Valid values are "wpad" or "pac".Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

url

NameTypeDescriptionSinceRequires
urlStringGets/sets the URL of the PAC file. Local files can be specified using the file:// protocol; e.g., file:///tmp/proxy.pac or file://c:/temp/proxy.pac. If the autoConfig mode is wpad, this URL is hard-coded to http://wpad/wpad.dat for security reasons.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

autoReload

NameTypeDescriptionSinceRequires
autoReloadBooleanGets/sets whether the PAC or WPAD URL should be automatically reloaded on a periodic basis. The frequency of reloading is set with the reloadFrequencyMins property. Valid values are true or false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

reloadFrequencyMins

NameTypeDescriptionSinceRequires
reloadFrequencyMinsIntegerGets/sets the number of minutes after which the PAC or WPAD URL is automatically reloaded. Ignored if autoReload is false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

disableOnBadPAC

NameTypeDescriptionSinceRequires
disableOnBadPACBooleanGets/sets whether this ProxyConfig is disabled if the PAC/WPAD URL failed to successfully load and parse. Valid values are true and false. Note there is no GUI for this option.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

loadNotification

NameTypeDescriptionSinceRequires
loadNotificationBooleanGets/sets whether the user is notified of successful PAC/WPAD URL loads. Valid values are true and false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

errorNotification

NameTypeDescriptionSinceRequires
errorNotificationBooleanGets/sets whether the user is notified of failed PAC/WPAD URL loads. Valid values are true and false.Basic: 2.6
Standard: 3.6
Plus: 4.6
Gecko 2+ (Firefox 4+, Thunderbird 3.3+, SeaMonkey 2.1+)

Functions

None