JavaScript Functions > Alphabetical Listing of Web Functions > web.setProxyBypass

web.setProxyBypass

Specifies the list of urls that the script can access directly, bypassing the proxy server.

Syntax

web.setProxyBypass( bypass1..n ); 
Argument
Description
bypass1..n
The list of URLs that scripts can access directly that is, not via the specified proxy server. Each URL is separated by a semi-colon (;). Each entry has a format "host:port". This instructs scripts to bypass all the files on the specified host:port.

Return Values

Not applicable

Parameterization

The following argument(s) can be parameterized using standard parameterization: bypass1....bypassn

General Information

The web.setProxyBypass function is a service function that specifies a list of URLs to access directly, bypassing the proxy server. You can include <local> in the list of by-passed URLs to bypass the proxy server for all the local hosts (such as intranet servers).

Using the empty string ("") resets all the bypass settings.

Note: The bypass lists are NOT incremental. Each call to web.setProxyBypass resets the previous settings.

Example

 web.setProxyBypass("<local>;www.mercuryinteractive.com");