A PAC (Proxy Auto-Configuration) file is a JavaScript function that determines whether web browser requests (HTTP, HTTPS, and FTP) go directly to the destination or are forwarded to a web proxy server.
The JavaScript function contained in the PAC file defines the function:
function FindProxyForURL(url, host) { // ... }
NOTE: Parameters: